home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994…tember: Reference Library / Dev.CD Sep 94.toast / Subject Index / QuickDraw / QuickDraw Collection next >
MacBinary  |  1994-07-24  |  41.4 KB  |  [COLF/HLX2]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Fri Jul 22 11:31:19 1994, modified Sun Jul 24 14:14:45 1994, creator 'HLX2', type 'COLF', 41767 bytes " QuickDraw Collection" Adobe Photoshop Color swatch, version 0, 1 colors; 1st RGB space (0), w 0x2, x 0, y 0, z 0, at 0xa3a7 286 bytes resource Adobe Photoshop Color swatch, version 0, 1 colors; 1st RGB space (0), w 0x2, x 0, y 0, z 0 default (weak)
99% file data default
100% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[COLF]
macFileCreator[HLX2]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 15 20 51 75 69 63 6b | 44 72 61 77 20 43 6f 6c |.. Quick|Draw Col|
|00000010| 6c 65 63 74 69 6f 6e 00 | 00 00 00 00 00 00 00 00 |lection.|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 43 4f 4c 46 48 4c 58 | 32 01 00 00 00 00 00 00 |.COLFHLX|2.......|
|00000050| 00 00 00 00 00 a3 27 00 | 00 01 1e aa 55 96 c7 aa |......'.|....U...|
|00000060| 58 60 15 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |X`......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 e5 a0 00 00 |........|........|
|00000080| 00 00 00 01 00 00 00 02 | 00 00 00 00 00 00 00 00 |........|........|
|00000090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 0e 44 65 76 2e 43 44 20 | 53 65 70 20 39 34 3a 03 |.Dev.CD |Sep 94:.|
|000000c0| 01 2f d8 66 00 ef ed 70 | 00 00 00 53 00 00 00 00 |./.f...p|...S....|
|000000d0| 17 3d 16 49 6d 61 67 69 | 6e 67 20 57 69 74 68 20 |.=.Imagi|ng With |
|000000e0| 51 75 69 63 6b 44 72 61 | 77 c6 01 2d 40 a6 00 f0 |QuickDra|w..-@...|
|000000f0| 72 e8 80 b3 01 81 00 f0 | 72 54 00 00 18 c8 00 f0 |r.......|rT......|
|00000100| 71 88 00 00 58 33 00 00 | 00 01 00 01 00 ef 00 00 |q...X3..|........|
|00000110| 01 2f ef 2c 00 f0 47 9e | 00 00 00 00 00 f0 78 a0 |./.,..G.|......x.|
|00000120| 00 f0 74 e0 00 01 00 00 | 00 00 00 00 00 00 00 01 |..t.....|........|
|00000130| 00 01 00 00 00 12 00 01 | 00 02 00 00 0f 9b 00 01 |........|........|
|00000140| 00 03 00 00 3d c2 00 01 | 00 04 00 00 71 4b 00 02 |....=...|....qK..|
|00000150| 00 05 00 00 81 4c 00 02 | 00 06 00 00 86 ad 00 03 |.....L..|........|
|00000160| 00 07 00 00 87 a6 00 03 | 00 08 00 00 88 ac 00 03 |........|........|
|00000170| 00 09 00 00 8b 6c 00 03 | 00 0a 00 00 8d 0f 00 02 |.....l..|........|
|00000180| 00 0b 00 00 90 72 00 01 | 00 0c 00 00 99 f8 00 02 |.....r..|........|
|00000190| 00 0d 00 00 a9 54 00 64 | 00 0e 00 00 bb 48 00 02 |.....T.d|.....H..|
|000001a0| 00 0f 00 00 bb 83 00 64 | 00 10 00 00 bf f3 00 64 |.......d|.......d|
|000001b0| 00 11 00 00 c7 9e 00 64 | 00 12 00 00 c8 86 00 64 |.......d|.......d|
|000001c0| 00 13 00 00 cb 39 00 02 | 00 14 00 00 d2 82 00 64 |.....9..|.......d|
|000001d0| 00 15 00 00 d6 53 00 64 | 00 16 00 00 de 3f 00 64 |.....S.d|.....?.d|
|000001e0| 00 17 00 00 df e3 00 64 | 00 18 00 00 e4 26 00 64 |.......d|.....&.d|
|000001f0| 00 19 00 00 e6 3d 00 64 | 00 1a 00 00 e7 df 00 64 |.....=.d|.......d|
|00000200| 00 1b 00 00 eb a7 00 64 | 00 1c 00 00 ee 44 00 64 |.......d|.....D.d|
|00000210| 00 1d 00 00 ef fa 00 64 | 00 1e 00 00 f1 89 00 02 |.......d|........|
|00000220| 00 1f 00 00 f4 57 00 03 | 00 20 00 01 04 4b 00 03 |.....W..|. ...K..|
|00000230| 00 21 00 01 0e 98 00 02 | 00 22 00 01 12 30 00 64 |.!......|."...0.d|
|00000240| 00 23 00 01 14 fe 00 64 | 00 24 00 01 19 16 00 02 |.#.....d|.$......|
|00000250| 00 25 00 01 22 92 00 64 | 00 26 00 01 24 ec 00 64 |.%.."..d|.&..$..d|
|00000260| 00 27 00 01 2c df 00 02 | 00 28 00 01 2d 03 00 64 |.'..,...|.(..-..d|
|00000270| 00 29 00 01 32 1c 00 64 | 00 2a 00 01 33 1f 00 02 |.)..2..d|.*..3...|
|00000280| 00 2b 00 01 41 88 00 01 | 00 2c 00 01 57 ff 00 02 |.+..A...|.,..W...|
|00000290| 00 2d 00 01 62 67 00 03 | 00 2e 00 01 66 d1 00 04 |.-..bg..|....f...|
|000002a0| 00 2f 00 01 6a e3 00 04 | 00 30 00 01 70 b6 00 04 |./..j...|.0..p...|
|000002b0| 00 31 00 01 74 cc 00 04 | 00 32 00 01 7c 83 00 03 |.1..t...|.2..|...|
|000002c0| 00 33 00 01 80 51 00 64 | 00 34 00 01 87 f4 00 04 |.3...Q.d|.4......|
|000002d0| 00 35 00 01 88 2a 00 64 | 00 36 00 01 8c cc 00 64 |.5...*.d|.6.....d|
|000002e0| 00 37 00 01 93 fb 00 04 | 00 38 00 01 a0 3d 00 64 |.7......|.8...=.d|
|000002f0| 00 39 00 01 a8 9a 00 04 | 00 3a 00 01 ab aa 00 04 |.9......|.:......|
|00000300| 00 3b 00 01 ae 87 00 04 | 00 3c 00 01 b0 47 00 04 |.;......|.<...G..|
|00000310| 00 3d 00 01 b3 15 00 04 | 00 3e 00 01 b6 70 00 02 |.=......|.>...p..|
|00000320| 00 3f 00 01 b9 54 00 03 | 00 40 00 01 c4 04 00 66 |.?...T..|.@.....f|
|00000330| 00 41 00 01 c5 5e 00 03 | 00 42 00 01 c8 08 00 66 |.A...^..|.B.....f|
|00000340| 00 43 00 01 cc 9b 00 03 | 00 44 00 01 d3 01 00 66 |.C......|.D.....f|
|00000350| 00 45 00 01 d5 7c 00 03 | 00 46 00 01 d9 79 00 66 |.E...|..|.F...y.f|
|00000360| 00 47 00 01 dd 03 00 03 | 00 48 00 01 df 97 00 64 |.G......|.H.....d|
|00000370| 00 49 00 01 eb d1 00 66 | 00 4a 00 01 ef 33 00 64 |.I.....f|.J...3.d|
|00000380| 00 4b 00 02 03 83 00 64 | 00 4c 00 02 0a 75 00 02 |.K.....d|.L...u..|
|00000390| 00 4d 00 02 11 93 00 03 | 00 4e 00 02 13 77 00 04 |.M......|.N...w..|
|000003a0| 00 4f 00 02 16 b1 00 04 | 00 50 00 02 1a 88 00 04 |.O......|.P......|
|000003b0| 00 51 00 02 21 60 00 04 | 00 52 00 02 26 43 00 04 |.Q..!`..|.R..&C..|
|000003c0| 00 53 00 02 2d 61 00 03 | 00 54 00 02 65 15 00 04 |.S..-a..|.T..e...|
|000003d0| 00 55 00 02 66 1b 00 04 | 00 56 00 02 66 e5 00 65 |.U..f...|.V..f..e|
|000003e0| 00 57 00 02 69 2f 00 04 | 00 58 00 02 6f 47 00 04 |.W..i/..|.X..oG..|
|000003f0| 00 59 00 02 74 12 00 65 | 00 5a 00 02 77 6b 00 04 |.Y..t..e|.Z..wk..|
|00000400| 00 5b 00 02 7c a1 00 04 | 00 5c 00 02 7f 94 00 04 |.[..|...|.\......|
|00000410| 00 5d 00 02 86 06 00 04 | 00 5e 00 02 89 95 00 04 |.]......|.^......|
|00000420| 00 5f 00 02 8f 08 00 04 | 00 60 00 02 94 b5 00 04 |._......|.`......|
|00000430| 00 61 00 02 99 a6 00 64 | 00 62 00 02 9d e9 00 04 |.a.....d|.b......|
|00000440| 00 63 00 02 a2 01 00 04 | 00 64 00 02 ac 5c 00 04 |.c......|.d...\..|
|00000450| 00 65 00 02 b0 94 00 04 | 00 66 00 02 b4 20 00 04 |.e......|.f... ..|
|00000460| 00 67 00 02 b8 56 00 04 | 00 68 00 02 be 85 00 04 |.g...V..|.h......|
|00000470| 00 69 00 02 c2 2e 00 04 | 00 6a 00 02 c5 92 00 04 |.i......|.j......|
|00000480| 00 6b 00 02 c8 dd 00 04 | 00 6c 00 02 cc df 00 04 |.k......|.l......|
|00000490| 00 6d 00 02 cf dd 00 04 | 00 6e 00 02 d3 d7 00 04 |.m......|.n......|
|000004a0| 00 6f 00 02 d6 4e 00 04 | 00 70 00 02 d9 ec 00 04 |.o...N..|.p......|
|000004b0| 00 71 00 02 dc c9 00 04 | 00 72 00 02 de 87 00 04 |.q......|.r......|
|000004c0| 00 73 00 02 df e9 00 02 | 00 74 00 02 e4 2d 00 01 |.s......|.t...-..|
|000004d0| 00 75 00 03 07 1e 00 02 | 00 76 00 03 16 5f 00 03 |.u......|.v..._..|
|000004e0| 00 77 00 03 19 fc 00 64 | 00 78 00 03 1f 3c 00 03 |.w.....d|.x...<..|
|000004f0| 00 79 00 03 26 ff 00 64 | 00 7a 00 03 29 69 00 64 |.y..&..d|.z..)i.d|
|00000500| 00 7b 00 03 31 5d 00 03 | 00 7c 00 03 38 4c 00 65 |.{..1]..|.|..8L.e|
|00000510| 00 7d 00 03 43 ae 00 64 | 00 7e 00 03 4b ae 00 03 |.}..C..d|.~..K...|
|00000520| 00 7f 00 03 4e f4 00 04 | 00 80 00 03 50 3a 00 04 |....N...|....P:..|
|00000530| 00 81 00 03 5b 36 00 04 | 00 82 00 03 5c 97 00 04 |....[6..|....\...|
|00000540| 00 83 00 03 5e c6 00 04 | 00 84 00 03 60 88 00 04 |....^...|....`...|
|00000550| 00 85 00 03 66 76 00 03 | 00 86 00 03 6a fe 00 02 |....fv..|....j...|
|00000560| 00 87 00 03 7d c8 00 03 | 00 88 00 03 86 a6 00 64 |....}...|.......d|
|00000570| 00 89 00 03 8b 64 00 66 | 00 8a 00 03 8c 59 00 64 |.....d.f|.....Y.d|
|00000580| 00 8b 00 03 8d 4e 00 64 | 00 8c 00 03 91 f8 00 64 |.....N.d|.......d|
|00000590| 00 8d 00 03 93 4e 00 66 | 00 8e 00 03 94 98 00 65 |.....N.f|.......e|
|000005a0| 00 8f 00 03 97 53 00 64 | 00 90 00 03 98 bb 00 66 |.....S.d|.......f|
|000005b0| 00 91 00 03 99 18 00 03 | 00 92 00 03 9b 1b 00 64 |........|.......d|
|000005c0| 00 93 00 03 9c 4e 00 64 | 00 94 00 03 9e 0e 00 66 |.....N.d|.......f|
|000005d0| 00 95 00 03 9f 7d 00 64 | 00 96 00 03 a3 f6 00 66 |.....}.d|.......f|
|000005e0| 00 97 00 03 a6 0a 00 03 | 00 98 00 03 ab c7 00 64 |........|.......d|
|000005f0| 00 99 00 03 ad 52 00 66 | 00 9a 00 03 ae 43 00 64 |.....R.f|.....C.d|
|00000600| 00 9b 00 03 b1 70 00 66 | 00 9c 00 03 b3 eb 00 03 |.....p.f|........|
|00000610| 00 9d 00 03 b5 ed 00 66 | 00 9e 00 03 be 4c 00 64 |.......f|.....L.d|
|00000620| 00 9f 00 03 c1 ae 00 66 | 00 a0 00 03 c3 e8 00 64 |.......f|.......d|
|00000630| 00 a1 00 03 c9 43 00 66 | 00 a2 00 03 cc 9d 00 03 |.....C.f|........|
|00000640| 00 a3 00 03 ce b3 00 65 | 00 a4 00 03 d2 6e 00 65 |.......e|.....n.e|
|00000650| 00 a5 00 03 d5 a6 00 03 | 00 a6 00 03 d9 60 00 64 |........|.....`.d|
|00000660| 00 a7 00 03 db 98 00 66 | 00 a8 00 03 dc 18 00 03 |.......f|........|
|00000670| 00 a9 00 03 ed 21 00 02 | 00 aa 00 03 f8 ba 00 03 |.....!..|........|
|00000680| 00 ab 00 03 fb 8a 00 04 | 00 ac 00 04 00 76 00 04 |........|.....v..|
|00000690| 00 ad 00 04 04 d1 00 04 | 00 ae 00 04 0e 8b 00 04 |........|........|
|000006a0| 00 af 00 04 1a 51 00 03 | 00 b0 00 04 1d 95 00 04 |.....Q..|........|
|000006b0| 00 b1 00 04 20 e0 00 04 | 00 b2 00 04 26 dc 00 04 |.... ...|....&...|
|000006c0| 00 b3 00 04 29 ee 00 04 | 00 b4 00 04 2d 5c 00 04 |....)...|....-\..|
|000006d0| 00 b5 00 04 2e bb 00 04 | 00 b6 00 04 31 59 00 04 |........|....1Y..|
|000006e0| 00 b7 00 04 33 6d 00 04 | 00 b8 00 04 37 5a 00 04 |....3m..|....7Z..|
|000006f0| 00 b9 00 04 48 5e 00 04 | 00 ba 00 04 4e c0 00 04 |....H^..|....N...|
|00000700| 00 bb 00 04 51 2d 00 04 | 00 bc 00 04 53 68 00 04 |....Q-..|....Sh..|
|00000710| 00 bd 00 04 59 7c 00 04 | 00 be 00 04 5a e3 00 04 |....Y|..|....Z...|
|00000720| 00 bf 00 04 5d 87 00 04 | 00 c0 00 04 60 39 00 04 |....]...|....`9..|
|00000730| 00 c1 00 04 63 c3 00 04 | 00 c2 00 04 68 22 00 04 |....c...|....h"..|
|00000740| 00 c3 00 04 6e 4d 00 04 | 00 c4 00 04 72 57 00 04 |....nM..|....rW..|
|00000750| 00 c5 00 04 75 b4 00 04 | 00 c6 00 04 79 c7 00 04 |....u...|....y...|
|00000760| 00 c7 00 04 7d ee 00 04 | 00 c8 00 04 80 02 00 04 |....}...|........|
|00000770| 00 c9 00 04 81 d3 00 04 | 00 ca 00 04 83 9f 00 64 |........|.......d|
|00000780| 00 cb 00 04 88 06 00 04 | 00 cc 00 04 88 f9 00 04 |........|........|
|00000790| 00 cd 00 04 8a 8a 00 04 | 00 ce 00 04 8c 61 00 04 |........|.....a..|
|000007a0| 00 cf 00 04 92 8d 00 04 | 00 d0 00 04 95 c6 00 04 |........|........|
|000007b0| 00 d1 00 04 99 01 00 04 | 00 d2 00 04 9e 88 00 04 |........|........|
|000007c0| 00 d3 00 04 a2 74 00 04 | 00 d4 00 04 a8 d6 00 64 |.....t..|.......d|
|000007d0| 00 d5 00 04 ae d2 00 04 | 00 d6 00 04 af 0b 00 04 |........|........|
|000007e0| 00 d7 00 04 b3 85 00 04 | 00 d8 00 04 b7 f4 00 04 |........|........|
|000007f0| 00 d9 00 04 be bd 00 04 | 00 da 00 04 c3 0f 00 04 |........|........|
|00000800| 00 db 00 04 ca cf 00 04 | 00 dc 00 04 cc f3 00 04 |........|........|
|00000810| 00 dd 00 04 d0 52 00 04 | 00 de 00 04 d3 50 00 04 |.....R..|.....P..|
|00000820| 00 df 00 04 d8 b7 00 04 | 00 e0 00 04 db cf 00 04 |........|........|
|00000830| 00 e1 00 04 e2 44 00 64 | 00 e2 00 04 e6 b2 00 04 |.....D.d|........|
|00000840| 00 e3 00 04 e6 f4 00 04 | 00 e4 00 04 ed c3 00 64 |........|.......d|
|00000850| 00 e5 00 04 f0 ba 00 04 | 00 e6 00 04 f2 7f 00 04 |........|........|
|00000860| 00 e7 00 04 f9 0c 00 04 | 00 e8 00 04 fc f5 00 04 |........|........|
|00000870| 00 e9 00 05 04 a5 00 04 | 00 ea 00 05 09 d1 00 04 |........|........|
|00000880| 00 eb 00 05 11 bd 00 04 | 00 ec 00 05 14 b7 00 04 |........|........|
|00000890| 00 ed 00 05 18 cc 00 04 | 00 ee 00 05 1b 20 00 04 |........|..... ..|
|000008a0| 00 ef 00 05 20 47 00 64 | 00 f0 00 05 23 8f 00 04 |.... G.d|....#...|
|000008b0| 00 f1 00 05 25 82 00 04 | 00 f2 00 05 28 e5 00 04 |....%...|....(...|
|000008c0| 00 f3 00 05 2e a6 00 04 | 00 f4 00 05 31 61 00 04 |........|....1a..|
|000008d0| 00 f5 00 05 37 ee 00 04 | 00 f6 00 05 45 31 00 04 |....7...|....E1..|
|000008e0| 00 f7 00 05 48 b4 00 04 | 00 f8 00 05 55 4d 00 04 |....H...|....UM..|
|000008f0| 00 f9 00 05 5b 9d 00 04 | 00 fa 00 05 5e 12 00 04 |....[...|....^...|
|00000900| 00 fb 00 05 61 ff 00 04 | 00 fc 00 05 64 2b 00 04 |....a...|....d+..|
|00000910| 00 fd 00 05 6a 0b 00 04 | 00 fe 00 05 6c fd 00 04 |....j...|....l...|
|00000920| 00 ff 00 05 71 32 00 04 | 01 00 00 05 76 46 00 04 |....q2..|....vF..|
|00000930| 01 01 00 05 7b 19 00 04 | 01 02 00 05 7f ac 00 04 |....{...|........|
|00000940| 01 03 00 05 83 84 00 04 | 01 04 00 05 87 d5 00 04 |........|........|
|00000950| 01 05 00 05 89 a7 00 04 | 01 06 00 05 8d 81 00 04 |........|........|
|00000960| 01 07 00 05 8f c8 00 04 | 01 08 00 05 95 22 00 04 |........|....."..|
|00000970| 01 09 00 05 99 5a 00 04 | 01 0a 00 05 9c e2 00 04 |.....Z..|........|
|00000980| 01 0b 00 05 9f bc 00 04 | 01 0c 00 05 a5 78 00 04 |........|.....x..|
|00000990| 01 0d 00 05 a8 1b 00 04 | 01 0e 00 05 ae 8f 00 04 |........|........|
|000009a0| 01 0f 00 05 b4 38 00 64 | 01 10 00 05 bc f8 00 04 |.....8.d|........|
|000009b0| 01 11 00 05 bd 1d 00 04 | 01 12 00 05 c3 9c 00 04 |........|........|
|000009c0| 01 13 00 05 c7 05 00 04 | 01 14 00 05 cc 72 00 04 |........|.....r..|
|000009d0| 01 15 00 05 d0 e7 00 04 | 01 16 00 05 d4 0b 00 64 |........|.......d|
|000009e0| 01 17 00 05 d8 b4 00 64 | 01 18 00 05 dd f9 00 04 |.......d|........|
|000009f0| 01 19 00 05 de af 00 64 | 01 1a 00 05 e1 ed 00 04 |.......d|........|
|00000a00| 01 1b 00 05 e6 44 00 04 | 01 1c 00 05 e8 c7 00 64 |.....D..|.......d|
|00000a10| 01 1d 00 05 f1 78 00 04 | 01 1e 00 06 1f ab 00 04 |.....x..|........|
|00000a20| 01 1f 00 06 2e d1 00 04 | 01 20 00 06 3e ff 00 04 |........|. ..>...|
|00000a30| 01 21 00 06 44 72 00 04 | 01 22 00 06 49 e5 00 04 |.!..Dr..|."..I...|
|00000a40| 01 23 00 06 4e 28 00 04 | 01 24 00 06 51 40 00 04 |.#..N(..|.$..Q@..|
|00000a50| 01 25 00 06 52 40 00 04 | 01 26 00 06 57 e6 00 04 |.%..R@..|.&..W...|
|00000a60| 01 27 00 06 59 c2 00 04 | 01 28 00 06 5f 13 00 64 |.'..Y...|.(.._..d|
|00000a70| 01 29 00 06 63 c2 00 04 | 01 2a 00 06 65 a6 00 04 |.)..c...|.*..e...|
|00000a80| 01 2b 00 06 6f e5 00 04 | 01 2c 00 06 75 d2 00 04 |.+..o...|.,..u...|
|00000a90| 01 2d 00 06 79 cd 00 04 | 01 2e 00 06 7b b7 00 04 |.-..y...|....{...|
|00000aa0| 01 2f 00 06 7e 1f 00 04 | 01 30 00 06 81 87 00 04 |./..~...|.0......|
|00000ab0| 01 31 00 06 84 0c 00 04 | 01 32 00 06 87 bf 00 04 |.1......|.2......|
|00000ac0| 01 33 00 06 8a 39 00 04 | 01 34 00 06 8c a7 00 04 |.3...9..|.4......|
|00000ad0| 01 35 00 06 90 f7 00 04 | 01 36 00 06 95 40 00 04 |.5......|.6...@..|
|00000ae0| 01 37 00 06 99 42 00 04 | 01 38 00 06 9c 26 00 03 |.7...B..|.8...&..|
|00000af0| 01 39 00 06 9f cd 00 04 | 01 3a 00 06 a2 ea 00 64 |.9......|.:.....d|
|00000b00| 01 3b 00 06 a5 d9 00 04 | 01 3c 00 06 a6 15 00 64 |.;......|.<.....d|
|00000b10| 01 3d 00 06 a9 5a 00 02 | 01 3e 00 06 a9 9c 00 01 |.=...Z..|.>......|
|00000b20| 01 3f 00 07 04 67 00 02 | 01 40 00 07 16 19 00 03 |.?...g..|.@......|
|00000b30| 01 41 00 07 1b af 00 03 | 01 42 00 07 27 3f 00 64 |.A......|.B..'?.d|
|00000b40| 01 43 00 07 2d 95 00 04 | 01 44 00 07 3d 4c 00 64 |.C..-...|.D..=L.d|
|00000b50| 01 45 00 07 3f b7 00 04 | 01 46 00 07 53 50 00 04 |.E..?...|.F..SP..|
|00000b60| 01 47 00 07 60 bc 00 64 | 01 48 00 07 69 26 00 64 |.G..`..d|.H..i&.d|
|00000b70| 01 49 00 07 6b 34 00 64 | 01 4a 00 07 6e 02 00 64 |.I..k4.d|.J..n..d|
|00000b80| 01 4b 00 07 6f 5c 00 64 | 01 4c 00 07 71 05 00 64 |.K..o\.d|.L..q..d|
|00000b90| 01 4d 00 07 73 13 00 04 | 01 4e 00 07 73 5c 00 02 |.M..s...|.N..s\..|
|00000ba0| 01 4f 00 07 76 e3 00 03 | 01 50 00 07 82 b2 00 03 |.O..v...|.P......|
|00000bb0| 01 51 00 07 85 43 00 66 | 01 52 00 07 88 7d 00 03 |.Q...C.f|.R...}..|
|00000bc0| 01 53 00 07 90 ef 00 66 | 01 54 00 07 99 b4 00 64 |.S.....f|.T.....d|
|00000bd0| 01 55 00 07 a1 d1 00 03 | 01 56 00 07 a3 97 00 64 |.U......|.V.....d|
|00000be0| 01 57 00 07 a9 ef 00 66 | 01 58 00 07 ac b6 00 66 |.W.....f|.X.....f|
|00000bf0| 01 59 00 07 af 70 00 64 | 01 5a 00 07 b3 2d 00 03 |.Y...p.d|.Z...-..|
|00000c00| 01 5b 00 07 b4 c9 00 64 | 01 5c 00 07 bd f6 00 64 |.[.....d|.\.....d|
|00000c10| 01 5d 00 07 c0 2f 00 64 | 01 5e 00 07 c1 3c 00 04 |.].../.d|.^...<..|
|00000c20| 01 5f 00 07 c6 d1 00 65 | 01 60 00 07 cd ef 00 66 |._.....e|.`.....f|
|00000c30| 01 61 00 07 e2 e5 00 04 | 01 62 00 07 f5 68 00 04 |.a......|.b...h..|
|00000c40| 01 63 00 08 03 52 00 65 | 01 64 00 08 1b ec 00 03 |.c...R.e|.d......|
|00000c50| 01 65 00 08 22 44 00 64 | 01 66 00 08 28 27 00 66 |.e.."D.d|.f..('.f|
|00000c60| 01 67 00 08 2c 3f 00 66 | 01 68 00 08 2c f7 00 02 |.g..,?.f|.h..,...|
|00000c70| 01 69 00 08 35 ca 00 03 | 01 6a 00 08 39 ff 00 04 |.i..5...|.j..9...|
|00000c80| 01 6b 00 08 45 23 00 04 | 01 6c 00 08 5d 50 00 04 |.k..E#..|.l..]P..|
|00000c90| 01 6d 00 08 96 a4 00 04 | 01 6e 00 08 99 f4 00 04 |.m......|.n......|
|00000ca0| 01 6f 00 08 9f bb 00 04 | 01 70 00 08 a8 2d 00 04 |.o......|.p...-..|
|00000cb0| 01 71 00 08 ac 52 00 04 | 01 72 00 08 c4 fa 00 04 |.q...R..|.r......|
|00000cc0| 01 73 00 08 d1 42 00 03 | 01 74 00 08 d6 a0 00 04 |.s...B..|.t......|
|00000cd0| 01 75 00 08 db 7a 00 04 | 01 76 00 08 e0 6c 00 65 |.u...z..|.v...l.e|
|00000ce0| 01 77 00 08 e4 de 00 04 | 01 78 00 08 eb 53 00 04 |.w......|.x...S..|
|00000cf0| 01 79 00 08 f1 df 00 04 | 01 7a 00 08 f5 bc 00 04 |.y......|.z......|
|00000d00| 01 7b 00 08 f6 c2 00 04 | 01 7c 00 08 fe ce 00 04 |.{......|.|......|
|00000d10| 01 7d 00 09 00 f6 00 04 | 01 7e 00 09 09 3f 00 04 |.}......|.~...?..|
|00000d20| 01 7f 00 09 10 a5 00 65 | 01 80 00 09 15 68 00 04 |.......e|.....h..|
|00000d30| 01 81 00 09 1b 1e 00 04 | 01 82 00 09 24 69 00 04 |........|....$i..|
|00000d40| 01 83 00 09 28 93 00 04 | 01 84 00 09 2b 90 00 04 |....(...|....+...|
|00000d50| 01 85 00 09 2f dd 00 04 | 01 86 00 09 33 0f 00 04 |..../...|....3...|
|00000d60| 01 87 00 09 37 71 00 04 | 01 88 00 09 3a 8e 00 04 |....7q..|....:...|
|00000d70| 01 89 00 09 3d 9f 00 04 | 01 8a 00 09 41 26 00 04 |....=...|....A&..|
|00000d80| 01 8b 00 09 44 46 00 04 | 01 8c 00 09 46 33 00 04 |....DF..|....F3..|
|00000d90| 01 8d 00 09 4a d6 00 04 | 01 8e 00 09 4e fe 00 04 |....J...|....N...|
|00000da0| 01 8f 00 09 51 53 00 04 | 01 90 00 09 57 75 00 04 |....QS..|....Wu..|
|00000db0| 01 91 00 09 58 bf 00 04 | 01 92 00 09 63 f6 00 04 |....X...|....c...|
|00000dc0| 01 93 00 09 6e fd 00 04 | 01 94 00 09 72 7c 00 04 |....n...|....r|..|
|00000dd0| 01 95 00 09 78 0c 00 04 | 01 96 00 09 7a 92 00 04 |....x...|....z...|
|00000de0| 01 97 00 09 7e 4d 00 04 | 01 98 00 09 80 db 00 04 |....~M..|........|
|00000df0| 01 99 00 09 83 9a 00 04 | 01 9a 00 09 87 d2 00 04 |........|........|
|00000e00| 01 9b 00 09 90 fe 00 04 | 01 9c 00 09 94 34 00 04 |........|.....4..|
|00000e10| 01 9d 00 09 9a 84 00 04 | 01 9e 00 09 9c 50 00 04 |........|.....P..|
|00000e20| 01 9f 00 09 a0 00 00 65 | 01 a0 00 09 a4 05 00 65 |.......e|.......e|
|00000e30| 01 a1 00 09 a5 e9 00 04 | 01 a2 00 09 a7 e3 00 04 |........|........|
|00000e40| 01 a3 00 09 a9 51 00 04 | 01 a4 00 09 aa 40 00 04 |.....Q..|.....@..|
|00000e50| 01 a5 00 09 b8 bd 00 04 | 01 a6 00 09 bd b8 00 04 |........|........|
|00000e60| 01 a7 00 09 c3 32 00 04 | 01 a8 00 09 c8 31 00 04 |.....2..|.....1..|
|00000e70| 01 a9 00 09 cc e5 00 04 | 01 aa 00 09 d2 3c 00 04 |........|.....<..|
|00000e80| 01 ab 00 09 d8 15 00 03 | 01 ac 00 09 dc da 00 04 |........|........|
|00000e90| 01 ad 00 09 e2 8e 00 03 | 01 ae 00 09 eb 3a 00 04 |........|.....:..|
|00000ea0| 01 af 00 09 ef 6a 00 64 | 01 b0 00 09 f3 44 00 04 |.....j.d|.....D..|
|00000eb0| 01 b1 00 09 f6 d3 00 64 | 01 b2 00 09 fa 1c 00 04 |.......d|........|
|00000ec0| 01 b3 00 09 fe 6d 00 64 | 01 b4 00 0a 06 17 00 02 |.....m.d|........|
|00000ed0| 01 b5 00 0a 09 1f 00 01 | 01 b6 00 0a 8f 0f 00 02 |........|........|
|00000ee0| 01 b7 00 0a 99 c9 00 64 | 01 b8 00 0a a7 fa 00 02 |.......d|........|
|00000ef0| 01 b9 00 0a ad 2c 00 03 | 01 ba 00 0a c1 f0 00 66 |.....,..|.......f|
|00000f00| 01 bb 00 0a c5 77 00 66 | 01 bc 00 0a ca 87 00 03 |.....w.f|........|
|00000f10| 01 bd 00 0a cc 91 00 66 | 01 be 00 0a d4 d0 00 03 |.......f|........|
|00000f20| 01 bf 00 0a e7 d8 00 03 | 01 c0 00 0a ec a9 00 02 |........|........|
|00000f30| 01 c1 00 0a f8 18 00 03 | 01 c2 00 0a fe 62 00 04 |........|.....b..|
|00000f40| 01 c3 00 0a ff a5 00 04 | 01 c4 00 0b 1d 2e 00 03 |........|........|
|00000f50| 01 c5 00 0b 25 20 00 04 | 01 c6 00 0b 27 a0 00 04 |....% ..|....'...|
|00000f60| 01 c7 00 0b 2e db 00 04 | 01 c8 00 0b 3b 34 00 04 |........|....;4..|
|00000f70| 01 c9 00 0b 45 6b 00 04 | 01 ca 00 0b 4d 09 00 04 |....Ek..|....M...|
|00000f80| 01 cb 00 0b 52 6c 00 04 | 01 cc 00 0b 55 d3 00 04 |....Rl..|....U...|
|00000f90| 01 cd 00 0b 5b 06 00 04 | 01 ce 00 0b 5d 77 00 04 |....[...|....]w..|
|00000fa0| 01 cf 00 0b 5f 78 00 04 | 01 d0 00 0b 61 e1 00 04 |...._x..|....a...|
|00000fb0| 01 d1 00 0b 64 d7 00 04 | 01 d2 00 0b 68 de 00 04 |....d...|....h...|
|00000fc0| 01 d3 00 0b 6c ce 00 04 | 01 d4 00 0b 79 da 00 04 |....l...|....y...|
|00000fd0| 01 d5 00 0b 81 8c 00 04 | 01 d6 00 0b 86 8f 00 04 |........|........|
|00000fe0| 01 d7 00 0b 89 5d 00 04 | 01 d8 00 0b 91 12 00 03 |.....]..|........|
|00000ff0| 01 d9 00 0b 9a bc 00 04 | 01 da 00 0b 9f a8 00 03 |........|........|
|00001000| 01 db 00 0b a7 62 00 04 | 01 dc 00 0b aa c4 00 02 |.....b..|........|
|00001010| 01 dd 00 0b ac 01 00 01 | 01 de 00 0b d6 05 00 02 |........|........|
|00001020| 01 df 00 0b e1 e6 00 02 | 01 e0 00 0b ea 41 00 03 |........|.....A..|
|00001030| 01 e1 00 0b f4 df 00 66 | 01 e2 00 0b f6 ba 00 03 |.......f|........|
|00001040| 01 e3 00 0c 06 90 00 03 | 01 e4 00 0c 09 c0 00 03 |........|........|
|00001050| 01 e5 00 0c 13 3b 00 03 | 01 e6 00 0c 18 de 00 03 |.....;..|........|
|00001060| 01 e7 00 0c 1c 58 00 66 | 01 e8 00 0c 21 f2 00 02 |.....X.f|....!...|
|00001070| 01 e9 00 0c 2d 64 00 03 | 01 ea 00 0c 2f 41 00 04 |....-d..|..../A..|
|00001080| 01 eb 00 0c 30 74 00 04 | 01 ec 00 0c 33 4c 00 03 |....0t..|....3L..|
|00001090| 01 ed 00 0c 4a cc 00 04 | 01 ee 00 0c 4b a8 00 04 |....J...|....K...|
|000010a0| 01 ef 00 0c 50 d5 00 04 | 01 f0 00 0c 7d 05 00 04 |....P...|....}...|
|000010b0| 01 f1 00 0c 83 a7 00 04 | 01 f2 00 0c 89 c1 00 04 |........|........|
|000010c0| 01 f3 00 0c a9 4a 00 04 | 01 f4 00 0c ad 62 00 04 |.....J..|.....b..|
|000010d0| 01 f5 00 0c af c6 00 04 | 01 f6 00 0c b1 ad 00 04 |........|........|
|000010e0| 01 f7 00 0c b7 f8 00 04 | 01 f8 00 0c be b7 00 04 |........|........|
|000010f0| 01 f9 00 0c c3 bd 00 04 | 01 fa 00 0c c8 c9 00 04 |........|........|
|00001100| 01 fb 00 0c d0 16 00 04 | 01 fc 00 0c d8 9f 00 04 |........|........|
|00001110| 01 fd 00 0c de e4 00 04 | 01 fe 00 0c e5 a3 00 04 |........|........|
|00001120| 01 ff 00 0c e8 d6 00 04 | 02 00 00 0c f1 05 00 04 |........|........|
|00001130| 02 01 00 0c fa 2a 00 04 | 02 02 00 0d 00 d2 00 02 |.....*..|........|
|00001140| 02 03 00 0d 04 33 00 01 | 02 04 00 0d 2b b3 00 02 |.....3..|....+...|
|00001150| 02 05 00 0d 3d 84 00 64 | 02 06 00 0d 3e d2 00 03 |....=..d|....>...|
|00001160| 02 07 00 0d 42 f6 00 64 | 02 08 00 0d 48 08 00 03 |....B..d|....H...|
|00001170| 02 09 00 0d 4c 7f 00 03 | 02 0a 00 0d 54 1c 00 03 |....L...|....T...|
|00001180| 02 0b 00 0d 59 2e 00 03 | 02 0c 00 0d 64 3d 00 02 |....Y...|....d=..|
|00001190| 02 0d 00 0d 69 56 00 03 | 02 0e 00 0d 7e 4b 00 66 |....iV..|....~K.f|
|000011a0| 02 0f 00 0d 82 b5 00 64 | 02 10 00 0d 8f 2a 00 03 |.......d|.....*..|
|000011b0| 02 11 00 0d 92 8a 00 04 | 02 12 00 0d 93 e6 00 66 |........|.......f|
|000011c0| 02 13 00 0d 94 fe 00 66 | 02 14 00 0d a1 50 00 66 |.......f|.....P.f|
|000011d0| 02 15 00 0d a7 cc 00 66 | 02 16 00 0d a9 5f 00 04 |.......f|....._..|
|000011e0| 02 17 00 0d ab a7 00 66 | 02 18 00 0d af cf 00 04 |.......f|........|
|000011f0| 02 19 00 0d b2 56 00 66 | 02 1a 00 0d b5 0c 00 04 |.....V.f|........|
|00001200| 02 1b 00 0d c1 b5 00 66 | 02 1c 00 0d c2 f9 00 03 |.......f|........|
|00001210| 02 1d 00 0d c6 ce 00 66 | 02 1e 00 0d c9 2a 00 66 |.......f|.....*.f|
|00001220| 02 1f 00 0d d4 d2 00 66 | 02 20 00 0d db 7e 00 03 |.......f|. ...~..|
|00001230| 02 21 00 0d dc fb 00 66 | 02 22 00 0d e4 c9 00 02 |.!.....f|."......|
|00001240| 02 23 00 0d f0 86 00 03 | 02 24 00 0d f4 02 00 04 |.#......|.$......|
|00001250| 02 25 00 0d f9 aa 00 04 | 02 26 00 0e 07 1b 00 04 |.%......|.&......|
|00001260| 02 27 00 0e 0e de 00 04 | 02 28 00 0e 14 99 00 04 |.'......|.(......|
|00001270| 02 29 00 0e 1f 9d 00 03 | 02 2a 00 0e 4c 3c 00 04 |.)......|.*..L<..|
|00001280| 02 2b 00 0e 4d 33 00 04 | 02 2c 00 0e 51 13 00 04 |.+..M3..|.,..Q...|
|00001290| 02 2d 00 0e 66 6e 00 04 | 02 2e 00 0e 71 b8 00 04 |.-..fn..|....q...|
|000012a0| 02 2f 00 0e 81 63 00 04 | 02 30 00 0e 84 3e 00 04 |./...c..|.0...>..|
|000012b0| 02 31 00 0e 89 95 00 04 | 02 32 00 0e 8c 72 00 04 |.1......|.2...r..|
|000012c0| 02 33 00 0e a0 8e 00 04 | 02 34 00 0e a4 92 00 04 |.3......|.4......|
|000012d0| 02 35 00 0e ad 5d 00 04 | 02 36 00 0e c7 8c 00 04 |.5...]..|.6......|
|000012e0| 02 37 00 0e da 3f 00 04 | 02 38 00 0e ef 89 00 04 |.7...?..|.8......|
|000012f0| 02 39 00 0e f6 62 00 04 | 02 3a 00 0e fb 62 00 04 |.9...b..|.:...b..|
|00001300| 02 3b 00 0f 04 90 00 03 | 02 3c 00 0f 0a a3 00 65 |.;......|.<.....e|
|00001310| 02 3d 00 0f 0f a7 00 04 | 02 3e 00 0f 17 c4 00 04 |.=......|.>......|
|00001320| 02 3f 00 0f 2a 8b 00 04 | 02 40 00 0f 33 4e 00 04 |.?..*...|.@..3N..|
|00001330| 02 41 00 0f 40 d6 00 03 | 02 42 00 0f 43 a2 00 04 |.A..@...|.B..C...|
|00001340| 02 43 00 0f 44 e5 00 64 | 02 44 00 0f 4e d1 00 04 |.C..D..d|.D..N...|
|00001350| 02 45 00 0f 50 70 00 02 | 02 46 00 0f 51 b8 00 01 |.E..Pp..|.F..Q...|
|00001360| 02 47 00 0f 94 c1 00 02 | 02 48 00 0f 9b 82 00 64 |.G......|.H.....d|
|00001370| 02 49 00 0f a3 a9 00 02 | 02 4a 00 0f b2 32 00 03 |.I......|.J...2..|
|00001380| 02 4b 00 0f b8 91 00 66 | 02 4c 00 0f ba 0d 00 03 |.K.....f|.L......|
|00001390| 02 4d 00 0f bd 3d 00 64 | 02 4e 00 0f c5 eb 00 64 |.M...=.d|.N.....d|
|000013a0| 02 4f 00 0f c6 a0 00 64 | 02 50 00 0f cf 17 00 64 |.O.....d|.P.....d|
|000013b0| 02 51 00 0f d1 94 00 66 | 02 52 00 0f d3 e9 00 03 |.Q.....f|.R......|
|000013c0| 02 53 00 0f e5 48 00 64 | 02 54 00 0f e9 60 00 64 |.S...H.d|.T...`.d|
|000013d0| 02 55 00 0f eb 51 00 66 | 02 56 00 0f f2 f2 00 66 |.U...Q.f|.V.....f|
|000013e0| 02 57 00 0f f6 35 00 02 | 02 58 00 0f f8 ed 00 03 |.W...5..|.X......|
|000013f0| 02 59 00 0f fb 6b 00 04 | 02 5a 00 0f fe 2f 00 04 |.Y...k..|.Z.../..|
|00001400| 02 5b 00 0f fe c0 00 65 | 02 5c 00 10 06 d6 00 04 |.[.....e|.\......|
|00001410| 02 5d 00 10 08 ec 00 04 | 02 5e 00 10 1c 7f 00 04 |.]......|.^......|
|00001420| 02 5f 00 10 1f 38 00 03 | 02 60 00 10 25 97 00 04 |._...8..|.`..%...|
|00001430| 02 61 00 10 26 5a 00 04 | 02 62 00 10 28 69 00 04 |.a..&Z..|.b..(i..|
|00001440| 02 63 00 10 2b 16 00 04 | 02 64 00 10 37 1d 00 04 |.c..+...|.d..7...|
|00001450| 02 65 00 10 38 61 00 04 | 02 66 00 10 3c c4 00 04 |.e..8a..|.f..<...|
|00001460| 02 67 00 10 40 95 00 04 | 02 68 00 10 43 dc 00 04 |.g..@...|.h..C...|
|00001470| 02 69 00 10 48 e3 00 04 | 02 6a 00 10 4b cb 00 04 |.i..H...|.j..K...|
|00001480| 02 6b 00 10 4d b8 00 04 | 02 6c 00 10 4e d9 00 04 |.k..M...|.l..N...|
|00001490| 02 6d 00 10 51 51 00 04 | 02 6e 00 10 53 73 00 04 |.m..QQ..|.n..Ss..|
|000014a0| 02 6f 00 10 55 e2 00 04 | 02 70 00 10 57 db 00 04 |.o..U...|.p..W...|
|000014b0| 02 71 00 10 5d 1e 00 04 | 02 72 00 10 61 01 00 04 |.q..]...|.r..a...|
|000014c0| 02 73 00 10 68 69 00 04 | 02 74 00 10 6a c2 00 04 |.s..hi..|.t..j...|
|000014d0| 02 75 00 10 6f 06 00 03 | 02 76 00 10 73 ad 00 04 |.u..o...|.v..s...|
|000014e0| 02 77 00 10 76 87 00 64 | 02 78 00 10 79 fa 00 04 |.w..v..d|.x..y...|
|000014f0| 02 79 00 10 7b 77 00 64 | 02 7a 00 10 7f d6 00 04 |.y..{w.d|.z......|
|00001500| 02 7b 00 10 86 05 00 64 | 02 7c 00 10 8a 91 00 02 |.{.....d|.|......|
|00001510| 02 7d 00 10 8c 4a 00 01 | 02 7e 00 10 a6 11 00 02 |.}...J..|.~......|
|00001520| 02 7f 00 10 b0 6d 00 03 | 02 80 00 10 bf 77 00 03 |.....m..|.....w..|
|00001530| 02 81 00 10 c6 80 00 64 | 02 82 00 10 c8 48 00 64 |.......d|.....H.d|
|00001540| 02 83 00 10 d0 08 00 64 | 02 84 00 10 d1 58 00 64 |.......d|.....X.d|
|00001550| 02 85 00 10 d3 d6 00 64 | 02 86 00 10 d4 4c 00 03 |.......d|.....L..|
|00001560| 02 87 00 10 d7 7a 00 03 | 02 88 00 10 e8 7a 00 64 |.....z..|.....z.d|
|00001570| 02 89 00 10 ed 2e 00 03 | 02 8a 00 10 ef 8a 00 03 |........|........|
|00001580| 02 8b 00 10 f5 18 00 64 | 02 8c 00 10 fc 0e 00 03 |.......d|........|
|00001590| 02 8d 00 11 01 58 00 64 | 02 8e 00 11 03 7b 00 64 |.....X.d|.....{.d|
|000015a0| 02 8f 00 11 08 1f 00 02 | 02 90 00 11 13 ae 00 03 |........|........|
|000015b0| 02 91 00 11 24 c1 00 66 | 02 92 00 11 2a 6a 00 03 |....$..f|....*j..|
|000015c0| 02 93 00 11 30 59 00 66 | 02 94 00 11 3e 76 00 04 |....0Y.f|....>v..|
|000015d0| 02 95 00 11 72 84 00 64 | 02 96 00 11 7b 7c 00 04 |....r..d|....{|..|
|000015e0| 02 97 00 11 7c 2f 00 04 | 02 98 00 11 83 88 00 03 |....|/..|........|
|000015f0| 02 99 00 11 8a c4 00 66 | 02 9a 00 11 8f b7 00 04 |.......f|........|
|00001600| 02 9b 00 11 94 74 00 64 | 02 9c 00 11 98 c5 00 66 |.....t.d|.......f|
|00001610| 02 9d 00 11 9c 83 00 04 | 02 9e 00 11 a7 76 00 66 |........|.....v.f|
|00001620| 02 9f 00 11 ac 05 00 04 | 02 a0 00 11 ae 16 00 66 |........|.......f|
|00001630| 02 a1 00 11 b9 f1 00 03 | 02 a2 00 11 bf ea 00 64 |........|.......d|
|00001640| 02 a3 00 11 c4 4f 00 66 | 02 a4 00 11 cf f9 00 66 |.....O.f|.......f|
|00001650| 02 a5 00 11 d4 e6 00 03 | 02 a6 00 11 da 26 00 66 |........|.....&.f|
|00001660| 02 a7 00 11 ed 04 00 03 | 02 a8 00 11 f8 78 00 02 |........|.....x..|
|00001670| 02 a9 00 12 07 8a 00 03 | 02 aa 00 12 10 a2 00 04 |........|........|
|00001680| 02 ab 00 12 16 cd 00 04 | 02 ac 00 12 22 9c 00 04 |........|...."...|
|00001690| 02 ad 00 12 28 8e 00 04 | 02 ae 00 12 32 1d 00 04 |....(...|....2...|
|000016a0| 02 af 00 12 35 8b 00 04 | 02 b0 00 12 3d 83 00 04 |....5...|....=...|
|000016b0| 02 b1 00 12 48 98 00 04 | 02 b2 00 12 4d b0 00 04 |....H...|....M...|
|000016c0| 02 b3 00 12 53 63 00 04 | 02 b4 00 12 5c e8 00 04 |....Sc..|....\...|
|000016d0| 02 b5 00 12 64 e3 00 04 | 02 b6 00 12 69 21 00 03 |....d...|....i!..|
|000016e0| 02 b7 00 12 6e e8 00 04 | 02 b8 00 12 6f b7 00 04 |....n...|....o...|
|000016f0| 02 b9 00 12 70 b0 00 04 | 02 ba 00 12 73 20 00 04 |....p...|....s ..|
|00001700| 02 bb 00 12 76 31 00 04 | 02 bc 00 12 79 17 00 04 |....v1..|....y...|
|00001710| 02 bd 00 12 7d dd 00 04 | 02 be 00 12 84 6e 00 04 |....}...|.....n..|
|00001720| 02 bf 00 12 87 0f 00 04 | 02 c0 00 12 8e 34 00 04 |........|.....4..|
|00001730| 02 c1 00 12 94 97 00 04 | 02 c2 00 12 9c 2e 00 04 |........|........|
|00001740| 02 c3 00 12 a0 4f 00 04 | 02 c4 00 12 a4 c8 00 04 |.....O..|........|
|00001750| 02 c5 00 12 aa 7e 00 04 | 02 c6 00 12 ad 44 00 04 |.....~..|.....D..|
|00001760| 02 c7 00 12 b4 9c 00 04 | 02 c8 00 12 b9 8b 00 04 |........|........|
|00001770| 02 c9 00 12 c2 bd 00 04 | 02 ca 00 12 c5 ca 00 04 |........|........|
|00001780| 02 cb 00 12 cf 24 00 04 | 02 cc 00 12 d1 de 00 04 |.....$..|........|
|00001790| 02 cd 00 12 e7 98 00 04 | 02 ce 00 12 e8 66 00 04 |........|.....f..|
|000017a0| 02 cf 00 12 fc 51 00 04 | 02 d0 00 12 ff 1a 00 04 |.....Q..|........|
|000017b0| 02 d1 00 13 04 2e 00 04 | 02 d2 00 13 06 18 00 04 |........|........|
|000017c0| 02 d3 00 13 08 99 00 04 | 02 d4 00 13 0b 1c 00 04 |........|........|
|000017d0| 02 d5 00 13 0e 08 00 65 | 02 d6 00 13 1d 4b 00 03 |.......e|.....K..|
|000017e0| 02 d7 00 13 23 29 00 04 | 02 d8 00 13 27 b4 00 04 |....#)..|....'...|
|000017f0| 02 d9 00 13 2e b7 00 02 | 02 da 00 13 36 26 00 01 |........|....6&..|
|00001800| 02 db 00 13 a0 2d 00 01 | 02 dc 00 13 a0 4e 00 02 |.....-..|.....N..|
|00001810| 02 dd 00 13 a4 31 00 02 | 02 de 00 13 ac d9 00 65 |.....1..|.......e|
|00001820| 02 df 00 13 ad 3f 00 02 | 02 e0 00 13 b1 9a 00 65 |.....?..|.......e|
|00001830| 02 e1 00 13 b6 3f 00 66 | 02 e2 00 13 ed fb 00 66 |.....?.f|.......f|
|00001840| 02 e3 00 13 ef fb 00 66 | 02 e4 00 13 f1 ba 00 65 |.......f|.......e|
|00001850| 02 e5 00 13 f4 19 00 02 | 02 e6 00 14 04 15 00 66 |........|.......f|
|00001860| 02 e7 00 14 04 f2 00 64 | 02 e8 00 14 0a 61 00 66 |.......d|.....a.f|
|00001870| 02 e9 00 14 0c d9 00 02 | 02 ea 00 14 13 e6 00 66 |........|.......f|
|00001880| 02 eb 00 14 16 df 00 02 | 02 ec 00 14 1d 35 00 66 |........|.....5.f|
|00001890| 02 ed 00 14 1e c3 00 01 | 02 ee 00 14 23 32 00 02 |........|....#2..|
|000018a0| 02 ef 00 14 2d 18 00 65 | 02 f0 00 14 3f ab 00 02 |....-..e|....?...|
|000018b0| 02 f1 00 14 4c 03 00 65 | 02 f2 00 14 57 24 00 02 |....L..e|....W$..|
|000018c0| 02 f3 00 14 5f 65 00 66 | 02 f4 00 14 63 31 00 66 |...._e.f|....c1.f|
|000018d0| 02 f5 00 14 69 35 00 02 | 02 f6 00 14 69 f2 00 03 |....i5..|....i...|
|000018e0| 02 f7 00 14 6b 9f 00 64 | 02 f8 00 14 6f 7a 00 64 |....k..d|....oz.d|
|000018f0| 02 f9 00 14 75 f1 00 64 | 02 fa 00 14 77 34 00 64 |....u..d|....w4.d|
|00001900| 02 fb 00 14 7a de 00 64 | 02 fc 00 14 86 01 00 03 |....z..d|........|
|00001910| 02 fd 00 14 8e 3f 00 66 | 02 fe 00 14 93 91 00 03 |.....?.f|........|
|00001920| 02 ff 00 14 95 b3 00 64 | 03 00 00 14 9d 6c 00 66 |.......d|.....l.f|
|00001930| 03 01 00 14 b3 60 00 02 | 03 02 00 14 ba 98 00 03 |.....`..|........|
|00001940| 03 03 00 14 bf 35 00 64 | 03 04 00 14 c1 c6 00 66 |.....5.d|.......f|
|00001950| 03 05 00 14 d5 3a 00 66 | 03 06 00 14 da c6 00 64 |.....:.f|.......d|
|00001960| 03 07 00 14 e1 fa 00 03 | 03 08 00 14 e4 f4 00 66 |........|.......f|
|00001970| 03 09 00 14 f1 79 00 66 | 03 0a 00 14 f6 bc 00 02 |.....y.f|........|
|00001980| 03 0b 00 14 fb 98 00 03 | 03 0c 00 14 fc c5 00 66 |........|.......f|
|00001990| 03 0d 00 15 03 58 00 03 | 03 0e 00 15 09 79 00 64 |.....X..|.....y.d|
|000019a0| 03 0f 00 15 11 80 00 66 | 03 10 00 15 19 cd 00 02 |.......f|........|
|000019b0| 03 11 00 15 1d da 00 03 | 03 12 00 15 20 ae 00 66 |........|.... ..f|
|000019c0| 03 13 00 15 26 c4 00 03 | 03 14 00 15 29 a7 00 02 |....&...|....)...|
|000019d0| 03 15 00 15 34 37 00 02 | 03 16 00 15 46 20 00 01 |....47..|....F ..|
|000019e0| 03 17 00 15 53 de 00 01 | 03 18 00 15 c5 76 03 19 |....S...|.....v..|
|000019f0| 16 49 6d 61 67 69 6e 67 | 20 57 69 74 68 20 51 75 |.Imaging| With Qu|
|00001a00| 69 63 6b 44 72 61 77 16 | 49 6d 61 67 69 6e 67 20 |ickDraw.|Imaging |
|00001a10| 57 69 74 68 20 51 75 69 | 63 6b 44 72 61 77 08 43 |With Qui|ckDraw.C|
|00001a20| 6f 6e 74 65 6e 74 73 1d | 46 69 67 75 72 65 73 2c |ontents.|Figures,|
|00001a30| 20 54 61 62 6c 65 73 2c | 20 61 6e 64 20 4c 69 73 | Tables,| and Lis|
|00001a40| 74 69 6e 67 73 0f 41 62 | 6f 75 74 20 54 68 69 73 |tings.Ab|out This|
|00001a50| 20 42 6f 6f 6b 1b 46 6f | 72 6d 61 74 20 6f 66 20 | Book.Fo|rmat of |
|00001a60| 61 20 54 79 70 69 63 61 | 6c 20 43 68 61 70 74 65 |a Typica|l Chapte|
|00001a70| 72 1d 43 6f 6e 76 65 6e | 74 69 6f 6e 73 20 55 73 |r.Conven|tions Us|
|00001a80| 65 64 20 69 6e 20 54 68 | 69 73 20 42 6f 6f 6b 0d |ed in Th|is Book.|
|00001a90| 53 70 65 63 69 61 6c 20 | 46 6f 6e 74 73 0e 54 79 |Special |Fonts.Ty|
|00001aa0| 70 65 73 20 6f 66 20 4e | 6f 74 65 73 0d 45 6d 70 |pes of N|otes.Emp|
|00001ab0| 74 79 20 53 74 72 69 6e | 67 73 1d 41 73 73 65 6d |ty Strin|gs.Assem|
|00001ac0| 62 6c 79 2d 4c 61 6e 67 | 75 61 67 65 20 49 6e 66 |bly-Lang|uage Inf|
|00001ad0| 6f 72 6d 61 74 69 6f 6e | 1b 54 68 65 20 44 65 76 |ormation|.The Dev|
|00001ae0| 65 6c 6f 70 6d 65 6e 74 | 20 45 6e 76 69 72 6f 6e |elopment| Environ|
|00001af0| 6d 65 6e 74 19 49 6e 74 | 72 6f 64 75 63 74 69 6f |ment.Int|roductio|
|00001b00| 6e 20 74 6f 20 51 75 69 | 63 6b 44 72 61 77 14 44 |n to Qui|ckDraw.D|
|00001b10| 72 61 77 69 6e 67 20 45 | 6e 76 69 72 6f 6e 6d 65 |rawing E|nvironme|
|00001b20| 6e 74 73 38 46 69 67 75 | 72 65 20 31 2d 31 09 41 |nts8Figu|re 1-1.A|
|00001b30| 20 67 72 61 79 73 63 61 | 6c 65 20 69 6d 61 67 65 | graysca|le image|
|00001b40| 20 72 65 70 72 65 73 65 | 6e 74 69 6e 67 20 62 69 | represe|nting bi|
|00001b50| 74 73 20 69 6e 20 6d 65 | 6d 6f 72 79 1c 51 75 69 |ts in me|mory.Qui|
|00001b60| 63 6b 44 72 61 77 d5 73 | 20 43 6f 6f 72 64 69 6e |ckDraw.s| Coordin|
|00001b70| 61 74 65 20 50 6c 61 6e | 65 30 46 69 67 75 72 65 |ate Plan|e0Figure|
|00001b80| 20 31 2d 32 09 54 68 65 | 20 51 75 69 63 6b 44 72 | 1-2.The| QuickDr|
|00001b90| 61 77 20 67 6c 6f 62 61 | 6c 20 63 6f 6f 72 64 69 |aw globa|l coordi|
|00001ba0| 6e 61 74 65 20 70 6c 61 | 6e 65 39 46 69 67 75 72 |nate pla|ne9Figur|
|00001bb0| 65 20 31 2d 33 09 41 20 | 77 69 6e 64 6f 77 d5 73 |e 1-3.A |window.s|
|00001bc0| 20 6c 6f 63 61 6c 20 61 | 6e 64 20 67 6c 6f 62 61 | local a|nd globa|
|00001bd0| 6c 20 63 6f 6f 72 64 69 | 6e 61 74 65 20 73 79 73 |l coordi|nate sys|
|00001be0| 74 65 6d 73 1f 46 69 67 | 75 72 65 20 31 2d 34 09 |tems.Fig|ure 1-4.|
|00001bf0| 54 68 65 20 63 6f 6f 72 | 64 69 6e 61 74 65 20 70 |The coor|dinate p|
|00001c00| 6c 61 6e 65 1c 46 69 67 | 75 72 65 20 31 2d 35 09 |lane.Fig|ure 1-5.|
|00001c10| 50 6f 69 6e 74 73 20 61 | 6e 64 20 70 69 78 65 6c |Points a|nd pixel|
|00001c20| 73 06 49 6d 61 67 65 73 | 19 46 69 67 75 72 65 20 |s.Images|.Figure |
|00001c30| 31 2d 36 09 44 72 61 77 | 69 6e 67 20 61 20 6c 69 |1-6.Draw|ing a li|
|00001c40| 6e 65 40 46 69 67 75 72 | 65 20 31 2d 37 09 4c 69 |ne@Figur|e 1-7.Li|
|00001c50| 6e 65 73 20 64 72 61 77 | 6e 20 77 69 74 68 20 64 |nes draw|n with d|
|00001c60| 69 66 66 65 72 65 6e 74 | 20 62 69 74 20 70 61 74 |ifferent| bit pat|
|00001c70| 74 65 72 6e 73 20 61 6e | 64 20 70 65 6e 20 73 69 |terns an|d pen si|
|00001c80| 7a 65 73 16 46 69 67 75 | 72 65 20 31 2d 38 09 41 |zes.Figu|re 1-8.A|
|00001c90| 20 72 65 63 74 61 6e 67 | 6c 65 12 46 69 67 75 72 | rectang|le.Figur|
|00001ca0| 65 20 31 2d 39 09 41 6e | 20 6f 76 61 6c 1e 46 69 |e 1-9.An| oval.Fi|
|00001cb0| 67 75 72 65 20 31 2d 31 | 30 09 41 6e 20 61 72 63 |gure 1-1|0.An arc|
|00001cc0| 20 61 6e 64 20 61 20 77 | 65 64 67 65 1f 46 69 67 | and a w|edge.Fig|
|00001cd0| 75 72 65 20 31 2d 31 31 | 09 41 20 72 6f 75 6e 64 |ure 1-11|.A round|
|00001ce0| 65 64 20 72 65 63 74 61 | 6e 67 6c 65 15 46 69 67 |ed recta|ngle.Fig|
|00001cf0| 75 72 65 20 31 2d 31 32 | 09 41 20 70 6f 6c 79 67 |ure 1-12|.A polyg|
|00001d00| 6f 6e 17 46 69 67 75 72 | 65 20 31 2d 31 33 09 54 |on.Figur|e 1-13.T|
|00001d10| 77 6f 20 72 65 67 69 6f | 6e 73 26 46 69 67 75 72 |wo regio|ns&Figur|
|00001d20| 65 20 31 2d 31 34 09 41 | 20 73 69 6d 70 6c 65 20 |e 1-14.A| simple |
|00001d30| 51 75 69 63 6b 44 72 61 | 77 20 70 69 63 74 75 72 |QuickDra|w pictur|
|00001d40| 65 2e 46 69 67 75 72 65 | 20 31 2d 31 35 09 46 69 |e.Figure| 1-15.Fi|
|00001d50| 6c 6c 69 6e 67 20 61 6e | 64 20 66 72 61 6d 69 6e |lling an|d framin|
|00001d60| 67 20 76 61 72 69 6f 75 | 73 20 73 68 61 70 65 73 |g variou|s shapes|
|00001d70| 06 43 6f 6c 6f 72 73 0e | 49 6e 64 65 78 65 64 20 |.Colors.|Indexed |
|00001d80| 43 6f 6c 6f 72 73 0d 44 | 69 72 65 63 74 20 43 6f |Colors.D|irect Co|
|00001d90| 6c 6f 72 73 11 0d 4d 75 | 6c 74 69 70 6c 65 20 53 |lors..Mu|ltiple S|
|00001da0| 63 72 65 65 6e 73 1f 46 | 69 67 75 72 65 20 31 2d |creens.F|igure 1-|
|00001db0| 31 36 09 41 20 74 77 6f | 2d 73 63 72 65 65 6e 20 |16.A two|-screen |
|00001dc0| 73 79 73 74 65 6d 43 46 | 69 67 75 72 65 20 31 2d |systemCF|igure 1-|
|00001dd0| 31 37 09 54 68 65 20 47 | 44 65 76 69 63 65 20 72 |17.The G|Device r|
|00001de0| 65 63 6f 72 64 20 61 6e | 64 20 70 69 78 65 6c 20 |ecord an|d pixel |
|00001df0| 6d 61 70 20 66 6f 72 20 | 61 20 34 2d 62 69 74 20 |map for |a 4-bit |
|00001e00| 76 69 64 65 6f 20 63 61 | 72 64 24 0d 46 72 6f 6d |video ca|rd$.From|
|00001e10| 20 4d 65 6d 6f 72 79 20 | 42 69 74 73 20 74 6f 20 | Memory |Bits to |
|00001e20| 4f 6e 73 63 72 65 65 6e | 20 50 69 78 65 6c 73 22 |Onscreen| Pixels"|
|00001e30| 46 69 67 75 72 65 20 31 | 2d 31 38 09 54 68 65 20 |Figure 1|-18.The |
|00001e40| 69 6e 64 65 78 65 64 2d | 70 69 78 65 6c 20 70 61 |indexed-|pixel pa|
|00001e50| 74 68 21 46 69 67 75 72 | 65 20 31 2d 31 39 09 54 |th!Figur|e 1-19.T|
|00001e60| 68 65 20 64 69 72 65 63 | 74 2d 70 69 78 65 6c 20 |he direc|t-pixel |
|00001e70| 70 61 74 68 1d 0d 46 72 | 6f 6d 20 4d 65 6d 6f 72 |path..Fr|om Memor|
|00001e80| 79 20 42 69 74 73 20 74 | 6f 20 50 72 69 6e 74 65 |y Bits t|o Printe|
|00001e90| 72 73 38 46 69 67 75 72 | 65 20 31 2d 32 30 09 54 |rs8Figur|e 1-20.T|
|00001ea0| 68 65 20 6a 6f 62 20 64 | 69 61 6c 6f 67 20 62 6f |he job d|ialog bo|
|00001eb0| 78 20 66 6f 72 20 61 20 | 53 74 79 6c 65 57 72 69 |x for a |StyleWri|
|00001ec0| 74 65 72 20 70 72 69 6e | 74 65 72 38 46 69 67 75 |ter prin|ter8Figu|
|00001ed0| 72 65 20 31 2d 32 31 09 | 54 68 65 20 6a 6f 62 20 |re 1-21.|The job |
|00001ee0| 64 69 61 6c 6f 67 20 62 | 6f 78 20 66 6f 72 20 61 |dialog b|ox for a|
|00001ef0| 20 4c 61 73 65 72 57 72 | 69 74 65 72 20 70 72 69 | LaserWr|iter pri|
|00001f00| 6e 74 65 72 17 4f 74 68 | 65 72 20 47 72 61 70 68 |nter.Oth|er Graph|
|00001f10| 69 63 73 20 4d 61 6e 61 | 67 65 72 73 0f 42 61 73 |ics Mana|gers.Bas|
|00001f20| 69 63 20 51 75 69 63 6b | 44 72 61 77 15 41 62 6f |ic Quick|Draw.Abo|
|00001f30| 75 74 20 42 61 73 69 63 | 20 51 75 69 63 6b 44 72 |ut Basic| QuickDr|
|00001f40| 61 77 29 54 68 65 20 4d | 61 74 68 65 6d 61 74 69 |aw)The M|athemati|
|00001f50| 63 61 6c 20 46 6f 75 6e | 64 61 74 69 6f 6e 73 20 |cal Foun|dations |
|00001f60| 6f 66 20 51 75 69 63 6b | 44 72 61 77 14 54 68 65 |of Quick|Draw.The|
|00001f70| 20 43 6f 6f 72 64 69 6e | 61 74 65 20 50 6c 61 6e | Coordin|ate Plan|
|00001f80| 65 06 50 6f 69 6e 74 73 | 0a 52 65 63 74 61 6e 67 |e.Points|.Rectang|
|00001f90| 6c 65 73 07 52 65 67 69 | 6f 6e 73 3d 54 68 65 20 |les.Regi|ons=The |
|00001fa0| 42 6c 61 63 6b 2d 61 6e | 64 2d 57 68 69 74 65 20 |Black-an|d-White |
|00001fb0| 44 72 61 77 69 6e 67 20 | 45 6e 76 69 72 6f 6e 6d |Drawing |Environm|
|00001fc0| 65 6e 74 3a 20 42 61 73 | 69 63 20 47 72 61 70 68 |ent: Bas|ic Graph|
|00001fd0| 69 63 73 20 50 6f 72 74 | 73 34 46 69 67 75 72 65 |ics Port|s4Figure|
|00001fe0| 20 32 2d 31 09 54 68 65 | 20 47 72 61 66 50 6f 72 | 2-1.The| GrafPor|
|00001ff0| 74 20 72 65 63 6f 72 64 | 20 61 6e 64 20 74 68 65 |t record| and the|
|00002000| 20 42 69 74 4d 61 70 20 | 72 65 63 6f 72 64 07 42 | BitMap |record.B|
|00002010| 69 74 6d 61 70 73 16 46 | 69 67 75 72 65 20 32 2d |itmaps.F|igure 2-|
|00002020| 32 09 41 20 62 69 74 20 | 69 6d 61 67 65 68 46 69 |2.A bit |imagehFi|
|00002030| 67 75 72 65 20 32 2d 33 | 09 52 65 6c 61 74 69 6f |gure 2-3|.Relatio|
|00002040| 6e 73 68 69 70 20 6f 66 | 20 74 68 65 20 62 6f 75 |nship of| the bou|
|00002050| 6e 64 61 72 79 20 72 65 | 63 74 61 6e 67 6c 65 20 |ndary re|ctangle |
|00002060| 61 6e 64 20 74 68 65 20 | 70 6f 72 74 20 72 65 63 |and the |port rec|
|00002070| 74 61 6e 67 6c 65 20 74 | 6f 20 74 68 65 20 67 6c |tangle t|o the gl|
|00002080| 6f 62 61 6c 20 63 6f 6f | 72 64 69 6e 61 74 65 20 |obal coo|rdinate |
|00002090| 73 79 73 74 65 6d 1e 54 | 68 65 20 47 72 61 70 68 |system.T|he Graph|
|000020a0| 69 63 73 20 50 6f 72 74 | 20 44 72 61 77 69 6e 67 |ics Port| Drawing|
|000020b0| 20 41 72 65 61 60 46 69 | 67 75 72 65 20 32 2d 34 | Area`Fi|gure 2-4|
|000020c0| 09 43 6f 6d 70 61 72 69 | 6e 67 20 74 68 65 20 62 |.Compari|ng the b|
|000020d0| 6f 75 6e 64 61 72 79 20 | 72 65 63 74 61 6e 67 6c |oundary |rectangl|
|000020e0| 65 2c 20 70 6f 72 74 20 | 72 65 63 74 61 6e 67 6c |e, port |rectangl|
|000020f0| 65 2c 20 76 69 73 69 62 | 6c 65 20 72 65 67 69 6f |e, visib|le regio|
|00002100| 6e 2c 20 61 6e 64 20 63 | 6c 69 70 70 69 6e 67 20 |n, and c|lipping |
|00002110| 72 65 67 69 6f 6e 1a 47 | 72 61 70 68 69 63 73 20 |region.G|raphics |
|00002120| 50 6f 72 74 20 42 69 74 | 20 50 61 74 74 65 72 6e |Port Bit| Pattern|
|00002130| 73 10 54 68 65 20 47 72 | 61 70 68 69 63 73 20 50 |s.The Gr|aphics P|
|00002140| 65 6e 17 54 65 78 74 20 | 69 6e 20 61 20 47 72 61 |en.Text |in a Gra|
|00002150| 70 68 69 63 73 20 50 6f | 72 74 2b 54 68 65 20 4c |phics Po|rt+The L|
|00002160| 69 6d 69 74 65 64 20 43 | 6f 6c 6f 72 73 20 6f 66 |imited C|olors of|
|00002170| 20 61 20 42 61 73 69 63 | 20 47 72 61 70 68 69 63 | a Basic| Graphic|
|00002180| 73 20 50 6f 72 74 0c 4f | 74 68 65 72 20 46 69 65 |s Port.O|ther Fie|
|00002190| 6c 64 73 15 55 73 69 6e | 67 20 42 61 73 69 63 20 |lds.Usin|g Basic |
|000021a0| 51 75 69 63 6b 44 72 61 | 77 1c 49 6e 69 74 69 61 |QuickDra|w.Initia|
|000021b0| 6c 69 7a 69 6e 67 20 42 | 61 73 69 63 20 51 75 69 |lizing B|asic Qui|
|000021c0| 63 6b 44 72 61 77 22 4c | 69 73 74 69 6e 67 20 32 |ckDraw"L|isting 2|
|000021d0| 2d 31 09 49 6e 69 74 69 | 61 6c 69 7a 69 6e 67 20 |-1.Initi|alizing |
|000021e0| 51 75 69 63 6b 44 72 61 | 77 1d 43 72 65 61 74 69 |QuickDra|w.Creati|
|000021f0| 6e 67 20 42 61 73 69 63 | 20 47 72 61 70 68 69 63 |ng Basic| Graphic|
|00002200| 73 20 50 6f 72 74 73 44 | 4c 69 73 74 69 6e 67 20 |s PortsD|Listing |
|00002210| 32 2d 32 09 55 73 69 6e | 67 20 74 68 65 20 57 69 |2-2.Usin|g the Wi|
|00002220| 6e 64 6f 77 20 4d 61 6e | 61 67 65 72 20 74 6f 20 |ndow Man|ager to |
|00002230| 63 72 65 61 74 65 20 61 | 20 62 61 73 69 63 20 67 |create a| basic g|
|00002240| 72 61 70 68 69 63 73 20 | 70 6f 72 74 19 53 65 74 |raphics |port.Set|
|00002250| 74 69 6e 67 20 74 68 65 | 20 47 72 61 70 68 69 63 |ting the| Graphic|
|00002260| 73 20 50 6f 72 74 30 4c | 69 73 74 69 6e 67 20 32 |s Port0L|isting 2|
|00002270| 2d 33 09 53 61 76 69 6e | 67 20 61 6e 64 20 72 65 |-3.Savin|g and re|
|00002280| 73 74 6f 72 69 6e 67 20 | 61 20 67 72 61 70 68 69 |storing |a graphi|
|00002290| 63 73 20 70 6f 72 74 35 | 53 77 69 74 63 68 69 6e |cs port5|Switchin|
|000022a0| 67 20 42 65 74 77 65 65 | 6e 20 47 6c 6f 62 61 6c |g Betwee|n Global|
|000022b0| 20 61 6e 64 20 4c 6f 63 | 61 6c 20 43 6f 6f 72 64 | and Loc|al Coord|
|000022c0| 69 6e 61 74 65 20 53 79 | 73 74 65 6d 73 3c 4c 69 |inate Sy|stems<Li|
|000022d0| 73 74 69 6e 67 20 32 2d | 34 09 43 68 61 6e 67 69 |sting 2-|4.Changi|
|000022e0| 6e 67 20 67 6c 6f 62 61 | 6c 20 63 6f 6f 72 64 69 |ng globa|l coordi|
|000022f0| 6e 61 74 65 73 20 74 6f | 20 6c 6f 63 61 6c 20 63 |nates to| local c|
|00002300| 6f 6f 72 64 69 6e 61 74 | 65 73 2a 53 63 72 6f 6c |oordinat|es*Scrol|
|00002310| 6c 69 6e 67 20 74 68 65 | 20 50 69 78 65 6c 73 20 |ling the| Pixels |
|00002320| 69 6e 20 74 68 65 20 50 | 6f 72 74 20 52 65 63 74 |in the P|ort Rect|
|00002330| 61 6e 67 6c 65 33 46 69 | 67 75 72 65 20 32 2d 35 |angle3Fi|gure 2-5|
|00002340| 09 4d 6f 76 69 6e 67 20 | 61 20 64 6f 63 75 6d 65 |.Moving |a docume|
|00002350| 6e 74 20 72 65 6c 61 74 | 69 76 65 20 74 6f 20 69 |nt relat|ive to i|
|00002360| 74 73 20 77 69 6e 64 6f | 77 47 4c 69 73 74 69 6e |ts windo|wGListin|
|00002370| 67 20 32 2d 35 09 55 73 | 69 6e 67 20 53 63 72 6f |g 2-5.Us|ing Scro|
|00002380| 6c 6c 52 65 63 74 20 74 | 6f 20 73 63 72 6f 6c 6c |llRect t|o scroll|
|00002390| 20 74 68 65 20 62 69 74 | 73 20 64 69 73 70 6c 61 | the bit|s displa|
|000023a0| 79 65 64 20 69 6e 20 74 | 68 65 20 77 69 6e 64 6f |yed in t|he windo|
|000023b0| 77 35 46 69 67 75 72 65 | 20 32 2d 36 09 55 70 64 |w5Figure| 2-6.Upd|
|000023c0| 61 74 69 6e 67 20 74 68 | 65 20 63 6f 6e 74 65 6e |ating th|e conten|
|000023d0| 74 73 20 6f 66 20 61 20 | 73 63 72 6f 6c 6c 65 64 |ts of a |scrolled|
|000023e0| 20 77 69 6e 64 6f 77 7b | 46 69 67 75 72 65 20 32 | window{|Figure 2|
|000023f0| 2d 37 09 52 65 73 74 6f | 72 69 6e 67 20 74 68 65 |-7.Resto|ring the|
|00002400| 20 77 69 6e 64 6f 77 20 | 6f 72 69 67 69 6e 20 6f | window |origin o|
|00002410| 66 20 74 68 65 20 70 6f | 72 74 20 72 65 63 74 61 |f the po|rt recta|
|00002420| 6e 67 6c 65 20 74 6f 20 | 61 20 68 6f 72 69 7a 6f |ngle to |a horizo|
|00002430| 6e 74 61 6c 20 63 6f 6f | 72 64 69 6e 61 74 65 20 |ntal coo|rdinate |
|00002440| 6f 66 20 30 20 61 6e 64 | 20 61 20 76 65 72 74 69 |of 0 and| a verti|
|00002450| 63 61 6c 20 63 6f 6f 72 | 64 69 6e 61 74 65 20 6f |cal coor|dinate o|
|00002460| 66 20 30 19 42 61 73 69 | 63 20 51 75 69 63 6b 44 |f 0.Basi|c QuickD|
|00002470| 72 61 77 20 52 65 66 65 | 72 65 6e 63 65 0f 44 61 |raw Refe|rence.Da|
|00002480| 74 61 20 53 74 72 75 63 | 74 75 72 65 73 05 50 6f |ta Struc|tures.Po|
|00002490| 69 6e 74 04 52 65 63 74 | 06 52 65 67 69 6f 6e 06 |int.Rect|.Region.|
|000024a0| 42 69 74 4d 61 70 08 47 | 72 61 66 50 6f 72 74 08 |BitMap.G|rafPort.|
|000024b0| 52 6f 75 74 69 6e 65 73 | 16 49 6e 69 74 69 61 6c |Routines|.Initial|
|000024c0| 69 7a 69 6e 67 20 51 75 | 69 63 6b 44 72 61 77 08 |izing Qu|ickDraw.|
|000024d0| 49 6e 69 74 47 72 61 66 | 24 54 61 62 6c 65 20 32 |InitGraf|$Table 2|
|000024e0| 2d 31 09 51 75 69 63 6b | 44 72 61 77 20 67 6c 6f |-1.Quick|Draw glo|
|000024f0| 62 61 6c 20 76 61 72 69 | 61 62 6c 65 73 28 4f 70 |bal vari|ables(Op|
|00002500| 65 6e 69 6e 67 20 61 6e | 64 20 43 6c 6f 73 69 6e |ening an|d Closin|
|00002510| 67 20 42 61 73 69 63 20 | 47 72 61 70 68 69 63 73 |g Basic |Graphics|
|00002520| 20 50 6f 72 74 73 08 4f | 70 65 6e 50 6f 72 74 31 | Ports.O|penPort1|
|00002530| 54 61 62 6c 65 20 32 2d | 32 09 49 6e 69 74 69 61 |Table 2-|2.Initia|
|00002540| 6c 20 76 61 6c 75 65 73 | 20 6f 66 20 61 20 62 61 |l values| of a ba|
|00002550| 73 69 63 20 67 72 61 70 | 68 69 63 73 20 70 6f 72 |sic grap|hics por|
|00002560| 74 08 49 6e 69 74 50 6f | 72 74 09 43 6c 6f 73 65 |t.InitPo|rt.Close|
|00002570| 50 6f 72 74 23 53 61 76 | 69 6e 67 20 61 6e 64 20 |Port#Sav|ing and |
|00002580| 52 65 73 74 6f 72 69 6e | 67 20 47 72 61 70 68 69 |Restorin|g Graphi|
|00002590| 63 73 20 50 6f 72 74 73 | 07 47 65 74 50 6f 72 74 |cs Ports|.GetPort|
|000025a0| 07 53 65 74 50 6f 72 74 | 37 4d 61 6e 61 67 69 6e |.SetPort|7Managin|
|000025b0| 67 20 42 69 74 6d 61 70 | 73 2c 20 50 6f 72 74 20 |g Bitmap|s, Port |
|000025c0| 52 65 63 74 61 6e 67 6c | 65 73 2c 20 61 6e 64 20 |Rectangl|es, and |
|000025d0| 43 6c 69 70 70 69 6e 67 | 20 52 65 67 69 6f 6e 73 |Clipping| Regions|
|000025e0| 0a 53 63 72 6f 6c 6c 52 | 65 63 74 4f 46 69 67 75 |.ScrollR|ectOFigu|
|000025f0| 72 65 20 32 2d 38 09 53 | 63 72 6f 6c 6c 69 6e 67 |re 2-8.S|crolling|
|00002600| 20 74 68 65 20 69 6d 61 | 67 65 20 69 6e 20 61 20 | the ima|ge in a |
|00002610| 72 65 63 74 61 6e 67 6c | 65 20 62 79 20 75 73 69 |rectangl|e by usi|
|00002620| 6e 67 20 74 68 65 20 53 | 63 72 6f 6c 6c 52 65 63 |ng the S|crollRec|
|00002630| 74 20 70 72 6f 63 65 64 | 75 72 65 09 53 65 74 4f |t proced|ure.SetO|
|00002640| 72 69 67 69 6e 08 50 6f | 72 74 53 69 7a 65 0a 4d |rigin.Po|rtSize.M|
|00002650| 6f 76 65 50 6f 72 74 54 | 6f 07 47 65 74 43 6c 69 |ovePortT|o.GetCli|
|00002660| 70 07 53 65 74 43 6c 69 | 70 08 43 6c 69 70 52 65 |p.SetCli|p.ClipRe|
|00002670| 63 74 0e 42 69 74 4d 61 | 70 54 6f 52 65 67 69 6f |ct.BitMa|pToRegio|
|00002680| 6e 0b 53 65 74 50 6f 72 | 74 42 69 74 73 25 4d 61 |n.SetPor|tBits%Ma|
|00002690| 6e 69 70 75 6c 61 74 69 | 6e 67 20 50 6f 69 6e 74 |nipulati|ng Point|
|000026a0| 73 20 69 6e 20 47 72 61 | 70 68 69 63 73 20 50 6f |s in Gra|phics Po|
|000026b0| 72 74 73 0d 47 6c 6f 62 | 61 6c 54 6f 4c 6f 63 61 |rts.Glob|alToLoca|
|000026c0| 6c 0d 4c 6f 63 61 6c 54 | 6f 47 6c 6f 62 61 6c 05 |l.LocalT|oGlobal.|
|000026d0| 41 64 64 50 74 05 53 75 | 62 50 74 0a 44 65 6c 74 |AddPt.Su|bPt.Delt|
|000026e0| 61 50 6f 69 6e 74 05 53 | 65 74 50 74 07 45 71 75 |aPoint.S|etPt.Equ|
|000026f0| 61 6c 50 74 08 47 65 74 | 50 69 78 65 6c 1b 0d 53 |alPt.Get|Pixel..S|
|00002700| 75 6d 6d 61 72 79 20 6f | 66 20 42 61 73 69 63 20 |ummary o|f Basic |
|00002710| 51 75 69 63 6b 44 72 61 | 77 11 51 75 69 63 6b 44 |QuickDra|w.QuickD|
|00002720| 72 61 77 20 44 72 61 77 | 69 6e 67 17 41 62 6f 75 |raw Draw|ing.Abou|
|00002730| 74 20 51 75 69 63 6b 44 | 72 61 77 20 44 72 61 77 |t QuickD|raw Draw|
|00002740| 69 6e 67 10 54 68 65 20 | 47 72 61 70 68 69 63 73 |ing.The |Graphics|
|00002750| 20 50 65 6e 19 46 69 67 | 75 72 65 20 33 2d 31 09 | Pen.Fig|ure 3-1.|
|00002760| 41 20 67 72 61 70 68 69 | 63 73 20 70 65 6e 0c 42 |A graphi|cs pen.B|
|00002770| 69 74 20 50 61 74 74 65 | 72 6e 73 18 46 69 67 75 |it Patte|rns.Figu|
|00002780| 72 65 20 33 2d 32 09 41 | 20 62 69 74 20 70 61 74 |re 3-2.A| bit pat|
|00002790| 74 65 72 6e 3a 46 69 67 | 75 72 65 20 33 2d 33 09 |tern:Fig|ure 3-3.|
|000027a0| 57 69 6e 64 6f 77 73 20 | 66 69 6c 6c 65 64 20 77 |Windows |filled w|
|000027b0| 69 74 68 20 74 68 65 20 | 70 72 65 64 65 66 69 6e |ith the |predefin|
|000027c0| 65 64 20 62 69 74 20 70 | 61 74 74 65 72 6e 73 28 |ed bit p|atterns(|
|000027d0| 42 6f 6f 6c 65 61 6e 20 | 54 72 61 6e 73 66 65 72 |Boolean |Transfer|
|000027e0| 20 4d 6f 64 65 73 20 57 | 69 74 68 20 31 2d 42 69 | Modes W|ith 1-Bi|
|000027f0| 74 20 50 69 78 65 6c 73 | 3a 54 61 62 6c 65 20 33 |t Pixels|:Table 3|
|00002800| 2d 31 09 45 66 66 65 63 | 74 20 6f 66 20 42 6f 6f |-1.Effec|t of Boo|
|00002810| 6c 65 61 6e 20 74 72 61 | 6e 73 66 65 72 20 6d 6f |lean tra|nsfer mo|
|00002820| 64 65 73 20 6f 6e 20 31 | 2d 62 69 74 20 70 69 78 |des on 1|-bit pix|
|00002830| 65 6c 73 2d 46 69 67 75 | 72 65 20 33 2d 34 09 45 |els-Figu|re 3-4.E|
|00002840| 78 61 6d 70 6c 65 73 20 | 6f 66 20 42 6f 6f 6c 65 |xamples |of Boole|
|00002850| 61 6e 20 74 72 61 6e 73 | 66 65 72 20 6d 6f 64 65 |an trans|fer mode|
|00002860| 73 10 4c 69 6e 65 73 20 | 61 6e 64 20 53 68 61 70 |s.Lines |and Shap|
|00002870| 65 73 19 44 65 66 69 6e | 69 6e 67 20 4c 69 6e 65 |es.Defin|ing Line|
|00002880| 73 20 61 6e 64 20 53 68 | 61 70 65 73 0e 46 72 61 |s and Sh|apes.Fra|
|00002890| 6d 69 6e 67 20 53 68 61 | 70 65 73 1b 50 61 69 6e |ming Sha|pes.Pain|
|000028a0| 74 69 6e 67 20 61 6e 64 | 20 46 69 6c 6c 69 6e 67 |ting and| Filling|
|000028b0| 20 53 68 61 70 65 73 0e | 45 72 61 73 69 6e 67 20 | Shapes.|Erasing |
|000028c0| 53 68 61 70 65 73 10 49 | 6e 76 65 72 74 69 6e 67 |Shapes.I|nverting|
|000028d0| 20 53 68 61 70 65 73 16 | 4f 74 68 65 72 20 47 72 | Shapes.|Other Gr|
|000028e0| 61 70 68 69 63 20 45 6e | 74 69 74 69 65 73 20 54 |aphic En|tities T|
|000028f0| 68 65 20 45 69 67 68 74 | 20 42 61 73 69 63 20 51 |he Eight| Basic Q|
|00002900| 75 69 63 6b 44 72 61 77 | 20 43 6f 6c 6f 72 73 17 |uickDraw| Colors.|
|00002910| 0d 44 72 61 77 69 6e 67 | 20 57 69 74 68 20 51 75 |.Drawing| With Qu|
|00002920| 69 63 6b 44 72 61 77 0d | 44 72 61 77 69 6e 67 20 |ickDraw.|Drawing |
|00002930| 4c 69 6e 65 73 25 46 69 | 67 75 72 65 20 33 2d 35 |Lines%Fi|gure 3-5|
|00002940| 09 55 73 69 6e 67 20 74 | 68 65 20 4c 69 6e 65 54 |.Using t|he LineT|
|00002950| 6f 20 70 72 6f 63 65 64 | 75 72 65 3d 4c 69 73 74 |o proced|ure=List|
|00002960| 69 6e 67 20 33 2d 31 09 | 44 72 61 77 69 6e 67 20 |ing 3-1.|Drawing |
|00002970| 6c 69 6e 65 73 20 77 69 | 74 68 20 74 68 65 20 4c |lines wi|th the L|
|00002980| 69 6e 65 54 6f 20 61 6e | 64 20 4c 69 6e 65 20 70 |ineTo an|d Line p|
|00002990| 72 6f 63 65 64 75 72 65 | 73 18 46 69 67 75 72 65 |rocedure|s.Figure|
|000029a0| 20 33 2d 36 09 44 72 61 | 77 69 6e 67 20 6c 69 6e | 3-6.Dra|wing lin|
|000029b0| 65 73 2f 46 69 67 75 72 | 65 20 33 2d 37 09 55 73 |es/Figur|e 3-7.Us|
|000029c0| 69 6e 67 20 74 68 65 20 | 4c 69 6e 65 54 6f 20 61 |ing the |LineTo a|
|000029d0| 6e 64 20 4c 69 6e 65 20 | 70 72 6f 63 65 64 75 72 |nd Line |procedur|
|000029e0| 65 73 1b 46 69 67 75 72 | 65 20 33 2d 38 09 52 65 |es.Figur|e 3-8.Re|
|000029f0| 73 69 7a 69 6e 67 20 74 | 68 65 20 70 65 6e 27 4c |sizing t|he pen'L|
|00002a00| 69 73 74 69 6e 67 20 33 | 2d 32 09 55 73 69 6e 67 |isting 3|-2.Using|
|00002a10| 20 74 68 65 20 50 65 6e | 53 69 7a 65 20 70 72 6f | the Pen|Size pro|
|00002a20| 63 65 64 75 72 65 3f 54 | 61 62 6c 65 20 33 2d 32 |cedure?T|able 3-2|
|00002a30| 09 54 68 65 20 67 6c 6f | 62 61 6c 20 76 61 72 69 |.The glo|bal vari|
|00002a40| 61 62 6c 65 73 20 66 6f | 72 20 66 69 76 65 20 70 |ables fo|r five p|
|00002a50| 72 65 64 65 66 69 6e 65 | 64 20 62 69 74 20 70 61 |redefine|d bit pa|
|00002a60| 74 74 65 72 6e 73 23 46 | 69 67 75 72 65 20 33 2d |tterns#F|igure 3-|
|00002a70| 39 09 43 68 61 6e 67 69 | 6e 67 20 74 68 65 20 70 |9.Changi|ng the p|
|00002a80| 65 6e 20 70 61 74 74 65 | 72 6e 50 4c 69 73 74 69 |en patte|rnPListi|
|00002a90| 6e 67 20 33 2d 33 09 55 | 73 69 6e 67 20 74 68 65 |ng 3-3.U|sing the|
|00002aa0| 20 50 65 6e 50 61 74 20 | 70 72 6f 63 65 64 75 72 | PenPat |procedur|
|00002ab0| 65 20 74 6f 20 63 68 61 | 6e 67 65 20 74 68 65 20 |e to cha|nge the |
|00002ac0| 70 61 74 74 65 72 6e 20 | 6f 66 20 74 68 65 20 67 |pattern |of the g|
|00002ad0| 72 61 70 68 69 63 73 20 | 70 65 6e 12 44 72 61 77 |raphics |pen.Draw|
|00002ae0| 69 6e 67 20 52 65 63 74 | 61 6e 67 6c 65 73 2b 46 |ing Rect|angles+F|
|00002af0| 69 67 75 72 65 20 33 2d | 31 30 09 54 77 6f 20 77 |igure 3-|10.Two w|
|00002b00| 61 79 73 20 74 6f 20 73 | 70 65 63 69 66 79 20 61 |ays to s|pecify a|
|00002b10| 20 72 65 63 74 61 6e 67 | 6c 65 1e 46 69 67 75 72 | rectang|le.Figur|
|00002b20| 65 20 33 2d 31 31 09 44 | 72 61 77 69 6e 67 20 72 |e 3-11.D|rawing r|
|00002b30| 65 63 74 61 6e 67 6c 65 | 73 3c 4c 69 73 74 69 6e |ectangle|s<Listin|
|00002b40| 67 20 33 2d 34 09 55 73 | 69 6e 67 20 74 68 65 20 |g 3-4.Us|ing the |
|00002b50| 46 72 61 6d 65 52 65 63 | 74 20 70 72 6f 63 65 64 |FrameRec|t proced|
|00002b60| 75 72 65 20 74 6f 20 64 | 72 61 77 20 72 65 63 74 |ure to d|raw rect|
|00002b70| 61 6e 67 6c 65 73 2b 46 | 69 67 75 72 65 20 33 2d |angles+F|igure 3-|
|00002b80| 31 32 09 50 61 69 6e 74 | 69 6e 67 20 61 6e 64 20 |12.Paint|ing and |
|00002b90| 66 69 6c 6c 69 6e 67 20 | 72 65 63 74 61 6e 67 6c |filling |rectangl|
|00002ba0| 65 73 37 4c 69 73 74 69 | 6e 67 20 33 2d 35 09 55 |es7Listi|ng 3-5.U|
|00002bb0| 73 69 6e 67 20 74 68 65 | 20 50 61 69 6e 74 52 65 |sing the| PaintRe|
|00002bc0| 63 74 20 61 6e 64 20 46 | 69 6c 6c 52 65 63 74 20 |ct and F|illRect |
|00002bd0| 70 72 6f 63 65 64 75 72 | 65 73 1f 44 72 61 77 69 |procedur|es.Drawi|
|00002be0| 6e 67 20 4f 76 61 6c 73 | 2c 20 41 72 63 73 2c 20 |ng Ovals|, Arcs, |
|00002bf0| 61 6e 64 20 57 65 64 67 | 65 73 19 46 69 67 75 72 |and Wedg|es.Figur|
|00002c00| 65 20 33 2d 31 33 09 44 | 72 61 77 69 6e 67 20 6f |e 3-13.D|rawing o|
|00002c10| 76 61 6c 73 37 4c 69 73 | 74 69 6e 67 20 33 2d 36 |vals7Lis|ting 3-6|
|00002c20| 09 55 73 69 6e 67 20 74 | 68 65 20 46 72 61 6d 65 |.Using t|he Frame|
|00002c30| 4f 76 61 6c 20 70 72 6f | 63 65 64 75 72 65 20 74 |Oval pro|cedure t|
|00002c40| 6f 20 64 72 61 77 20 6f | 76 61 6c 73 26 46 69 67 |o draw o|vals&Fig|
|00002c50| 75 72 65 20 33 2d 31 34 | 09 44 72 61 77 69 6e 67 |ure 3-14|.Drawing|
|00002c60| 20 61 6e 20 61 72 63 20 | 61 6e 64 20 61 20 77 65 | an arc |and a we|
|00002c70| 64 67 65 36 4c 69 73 74 | 69 6e 67 20 33 2d 37 09 |dge6List|ing 3-7.|
|00002c80| 55 73 69 6e 67 20 74 68 | 65 20 46 72 61 6d 65 41 |Using th|e FrameA|
|00002c90| 72 63 20 61 6e 64 20 50 | 61 69 6e 74 41 72 63 20 |rc and P|aintArc |
|00002ca0| 70 72 6f 63 65 64 75 72 | 65 73 1c 44 72 61 77 69 |procedur|es.Drawi|
|00002cb0| 6e 67 20 52 65 67 69 6f | 6e 73 20 61 6e 64 20 50 |ng Regio|ns and P|
|00002cc0| 6f 6c 79 67 6f 6e 73 29 | 4c 69 73 74 69 6e 67 20 |olygons)|Listing |
|00002cd0| 33 2d 38 09 43 72 65 61 | 74 69 6e 67 20 61 6e 64 |3-8.Crea|ting and|
|00002ce0| 20 64 72 61 77 69 6e 67 | 20 61 20 72 65 67 69 6f | drawing| a regio|
|00002cf0| 6e 27 46 69 67 75 72 65 | 20 33 2d 31 35 09 41 20 |n'Figure| 3-15.A |
|00002d00| 73 68 61 70 65 20 63 72 | 65 61 74 65 64 20 62 79 |shape cr|eated by|
|00002d10| 20 61 20 72 65 67 69 6f | 6e 44 4c 69 73 74 69 6e | a regio|nDListin|
|00002d20| 67 20 33 2d 39 09 43 72 | 65 61 74 69 6e 67 20 61 |g 3-9.Cr|eating a|
|00002d30| 20 63 6c 69 70 70 69 6e | 67 20 72 65 67 69 6f 6e | clippin|g region|
|00002d40| 20 61 6e 64 20 66 69 6c | 6c 69 6e 67 20 69 74 20 | and fil|ling it |
|00002d50| 77 69 74 68 20 61 20 70 | 61 74 74 65 72 6e 25 46 |with a p|attern%F|
|00002d60| 69 67 75 72 65 20 33 2d | 31 36 09 46 69 6c 6c 69 |igure 3-|16.Filli|
|00002d70| 6e 67 20 61 20 63 6c 69 | 70 70 69 6e 67 20 72 65 |ng a cli|pping re|
|00002d80| 67 69 6f 6e 2a 4c 69 73 | 74 69 6e 67 20 33 2d 31 |gion*Lis|ting 3-1|
|00002d90| 30 09 43 72 65 61 74 69 | 6e 67 20 61 20 74 72 69 |0.Creati|ng a tri|
|00002da0| 61 6e 67 75 6c 61 72 20 | 70 6f 6c 79 67 6f 6e 39 |angular |polygon9|
|00002db0| 50 65 72 66 6f 72 6d 69 | 6e 67 20 43 61 6c 63 75 |Performi|ng Calcu|
|00002dc0| 6c 61 74 69 6f 6e 73 20 | 61 6e 64 20 4f 74 68 65 |lations |and Othe|
|00002dd0| 72 20 4d 61 6e 69 70 75 | 6c 61 74 69 6f 6e 73 20 |r Manipu|lations |
|00002de0| 6f 66 20 53 68 61 70 65 | 73 48 54 61 62 6c 65 20 |of Shape|sHTable |
|00002df0| 33 2d 33 09 51 75 69 63 | 6b 44 72 61 77 20 72 6f |3-3.Quic|kDraw ro|
|00002e00| 75 74 69 6e 65 73 20 66 | 6f 72 20 63 61 6c 63 75 |utines f|or calcu|
|00002e10| 6c 61 74 69 6e 67 20 61 | 6e 64 20 6d 61 6e 69 70 |lating a|nd manip|
|00002e20| 75 6c 61 74 69 6e 67 20 | 72 65 63 74 61 6e 67 6c |ulating |rectangl|
|00002e30| 65 73 45 54 61 62 6c 65 | 20 33 2d 34 09 51 75 69 |esETable| 3-4.Qui|
|00002e40| 63 6b 44 72 61 77 20 72 | 6f 75 74 69 6e 65 73 20 |ckDraw r|outines |
|00002e50| 66 6f 72 20 63 61 6c 63 | 75 6c 61 74 69 6e 67 20 |for calc|ulating |
|00002e60| 61 6e 64 20 6d 61 6e 69 | 70 75 6c 61 74 69 6e 67 |and mani|pulating|
|00002e70| 20 72 65 67 69 6f 6e 73 | 23 43 6f 70 79 69 6e 67 | regions|#Copying|
|00002e80| 20 42 69 74 73 20 42 65 | 74 77 65 65 6e 20 47 72 | Bits Be|tween Gr|
|00002e90| 61 70 68 69 63 73 20 50 | 6f 72 74 73 33 46 69 67 |aphics P|orts3Fig|
|00002ea0| 75 72 65 20 33 2d 31 37 | 09 53 68 72 69 6e 6b 69 |ure 3-17|.Shrinki|
|00002eb0| 6e 67 20 69 6d 61 67 65 | 73 20 62 65 74 77 65 65 |ng image|s betwee|
|00002ec0| 6e 20 67 72 61 70 68 69 | 63 73 20 70 6f 72 74 73 |n graphi|cs ports|
|00002ed0| 45 4c 69 73 74 69 6e 67 | 20 33 2d 31 31 09 55 73 |EListing| 3-11.Us|
|00002ee0| 69 6e 67 20 74 68 65 20 | 43 6f 70 79 42 69 74 73 |ing the |CopyBits|
|00002ef0| 20 70 72 6f 63 65 64 75 | 72 65 20 74 6f 20 63 6f | procedu|re to co|
|00002f00| 70 79 20 62 65 74 77 65 | 65 6e 20 74 77 6f 20 77 |py betwe|en two w|
|00002f10| 69 6e 64 6f 77 73 2a 43 | 75 73 74 6f 6d 69 7a 69 |indows*C|ustomizi|
|00002f20| 6e 67 20 51 75 69 63 6b | 44 72 61 77 d5 73 20 4c |ng Quick|Draw.s L|
|00002f30| 6f 77 2d 4c 65 76 65 6c | 20 52 6f 75 74 69 6e 65 |ow-Level| Routine|
|00002f40| 73 1b 51 75 69 63 6b 44 | 72 61 77 20 44 72 61 77 |s.QuickD|raw Draw|
|00002f50| 69 6e 67 20 52 65 66 65 | 72 65 6e 63 65 0f 44 61 |ing Refe|rence.Da|
|00002f60| 74 61 20 53 74 72 75 63 | 74 75 72 65 73 07 50 6f |ta Struc|tures.Po|
|00002f70| 6c 79 67 6f 6e 08 50 65 | 6e 53 74 61 74 65 07 51 |lygon.Pe|nState.Q|
|00002f80| 44 50 72 6f 63 73 07 50 | 61 74 74 65 72 6e 08 52 |DProcs.P|attern.R|
|00002f90| 6f 75 74 69 6e 65 73 19 | 4d 61 6e 61 67 69 6e 67 |outines.|Managing|
|00002fa0| 20 74 68 65 20 47 72 61 | 70 68 69 63 73 20 50 65 | the Gra|phics Pe|
|00002fb0| 6e 07 48 69 64 65 50 65 | 6e 07 53 68 6f 77 50 65 |n.HidePe|n.ShowPe|
|00002fc0| 6e 06 47 65 74 50 65 6e | 0b 47 65 74 50 65 6e 53 |n.GetPen|.GetPenS|
|00002fd0| 74 61 74 65 0b 53 65 74 | 50 65 6e 53 74 61 74 65 |tate.Set|PenState|
|00002fe0| 07 50 65 6e 53 69 7a 65 | 07 50 65 6e 4d 6f 64 65 |.PenSize|.PenMode|
|00002ff0| 06 50 65 6e 50 61 74 09 | 50 65 6e 4e 6f 72 6d 61 |.PenPat.|PenNorma|
|00003000| 6c 23 43 68 61 6e 67 69 | 6e 67 20 74 68 65 20 42 |l#Changi|ng the B|
|00003010| 61 63 6b 67 72 6f 75 6e | 64 20 42 69 74 20 50 61 |ackgroun|d Bit Pa|
|00003020| 74 74 65 72 6e 07 42 61 | 63 6b 50 61 74 0d 44 72 |ttern.Ba|ckPat.Dr|
|00003030| 61 77 69 6e 67 20 4c 69 | 6e 65 73 06 4d 6f 76 65 |awing Li|nes.Move|
|00003040| 54 6f 04 4d 6f 76 65 06 | 4c 69 6e 65 54 6f 04 4c |To.Move.|LineTo.L|
|00003050| 69 6e 65 20 43 72 65 61 | 74 69 6e 67 20 61 6e 64 |ine Crea|ting and|
|00003060| 20 4d 61 6e 61 67 69 6e | 67 20 52 65 63 74 61 6e | Managin|g Rectan|
|00003070| 67 6c 65 73 07 53 65 74 | 52 65 63 74 0a 4f 66 66 |gles.Set|Rect.Off|
|00003080| 73 65 74 52 65 63 74 09 | 49 6e 73 65 74 52 65 63 |setRect.|InsetRec|
|00003090| 74 08 53 65 63 74 52 65 | 63 74 09 55 6e 69 6f 6e |t.SectRe|ct.Union|
|000030a0| 52 65 63 74 08 50 74 49 | 6e 52 65 63 74 07 50 74 |Rect.PtI|nRect.Pt|
|000030b0| 32 52 65 63 74 09 50 74 | 54 6f 41 6e 67 6c 65 4b |2Rect.Pt|ToAngleK|
|000030c0| 46 69 67 75 72 65 20 33 | 2d 31 38 09 46 6f 72 74 |Figure 3|-18.Fort|
|000030d0| 79 2d 66 69 76 65 2d 64 | 65 67 72 65 65 20 61 6e |y-five-d|egree an|
|000030e0| 67 6c 65 73 20 61 73 20 | 72 65 74 75 72 6e 65 64 |gles as |returned|
|000030f0| 20 62 79 20 74 68 65 20 | 50 74 54 6f 41 6e 67 6c | by the |PtToAngl|
|00003100| 65 20 70 72 6f 63 65 64 | 75 72 65 09 45 71 75 61 |e proced|ure.Equa|
|00003110| 6c 52 65 63 74 09 45 6d | 70 74 79 52 65 63 74 12 |lRect.Em|ptyRect.|
|00003120| 44 72 61 77 69 6e 67 20 | 52 65 63 74 61 6e 67 6c |Drawing |Rectangl|
|00003130| 65 73 09 46 72 61 6d 65 | 52 65 63 74 09 50 61 69 |es.Frame|Rect.Pai|
|00003140| 6e 74 52 65 63 74 08 46 | 69 6c 6c 52 65 63 74 09 |ntRect.F|illRect.|
|00003150| 45 72 61 73 65 52 65 63 | 74 0a 49 6e 76 65 72 74 |EraseRec|t.Invert|
|00003160| 52 65 63 74 1a 44 72 61 | 77 69 6e 67 20 52 6f 75 |Rect.Dra|wing Rou|
|00003170| 6e 64 65 64 20 52 65 63 | 74 61 6e 67 6c 65 73 37 |nded Rec|tangles7|
|00003180| 46 69 67 75 72 65 20 33 | 2d 31 39 09 4f 76 61 6c |Figure 3|-19.Oval|
|00003190| 20 77 69 64 74 68 20 61 | 6e 64 20 68 65 69 67 68 | width a|nd heigh|
|000031a0| 74 20 69 6e 20 72 6f 75 | 6e 64 65 64 20 72 65 63 |t in rou|nded rec|
|000031b0| 74 61 6e 67 6c 65 73 0e | 46 72 61 6d 65 52 6f 75 |tangles.|FrameRou|
|000031c0| 6e 64 52 65 63 74 0e 50 | 61 69 6e 74 52 6f 75 6e |ndRect.P|aintRoun|
|000031d0| 64 52 65 63 74 0d 46 69 | 6c 6c 52 6f 75 6e 64 52 |dRect.Fi|llRoundR|
|000031e0| 65 63 74 0e 45 72 61 73 | 65 52 6f 75 6e 64 52 65 |ect.Eras|eRoundRe|
|000031f0| 63 74 0f 49 6e 76 65 72 | 74 52 6f 75 6e 64 52 65 |ct.Inver|tRoundRe|
|00003200| 63 74 0d 44 72 61 77 69 | 6e 67 20 4f 76 61 6c 73 |ct.Drawi|ng Ovals|
|00003210| 09 46 72 61 6d 65 4f 76 | 61 6c 09 50 61 69 6e 74 |.FrameOv|al.Paint|
|00003220| 4f 76 61 6c 08 46 69 6c | 6c 4f 76 61 6c 09 45 72 |Oval.Fil|lOval.Er|
|00003230| 61 73 65 4f 76 61 6c 0a | 49 6e 76 65 72 74 4f 76 |aseOval.|InvertOv|
|00003240| 61 6c 17 44 72 61 77 69 | 6e 67 20 41 72 63 73 20 |al.Drawi|ng Arcs |
|00003250| 61 6e 64 20 57 65 64 67 | 65 73 40 46 69 67 75 72 |and Wedg|es@Figur|
|00003260| 65 20 33 2d 32 30 09 55 | 73 69 6e 67 20 61 6e 67 |e 3-20.U|sing ang|
|00003270| 6c 65 73 20 74 6f 20 64 | 65 66 69 6e 65 20 74 68 |les to d|efine th|
|00003280| 65 20 72 61 64 69 69 20 | 66 6f 72 20 61 72 63 73 |e radii |for arcs|
|00003290| 20 61 6e 64 20 77 65 64 | 67 65 73 08 46 72 61 6d | and wed|ges.Fram|
|000032a0| 65 41 72 63 08 50 61 69 | 6e 74 41 72 63 2f 46 69 |eArc.Pai|ntArc/Fi|
|000032b0| 67 75 72 65 20 33 2d 32 | 31 09 55 73 69 6e 67 20 |gure 3-2|1.Using |
|000032c0| 50 61 69 6e 74 41 72 63 | 20 74 6f 20 70 61 69 6e |PaintArc| to pain|
|000032d0| 74 20 61 20 34 35 a1 20 | 61 6e 67 6c 65 07 46 69 |t a 45. |angle.Fi|
|000032e0| 6c 6c 41 72 63 08 45 72 | 61 73 65 41 72 63 09 49 |llArc.Er|aseArc.I|
|000032f0| 6e 76 65 72 74 41 72 63 | 1e 43 72 65 61 74 69 6e |nvertArc|.Creatin|
|00003300| 67 20 61 6e 64 20 4d 61 | 6e 61 67 69 6e 67 20 50 |g and Ma|naging P|
|00003310| 6f 6c 79 67 6f 6e 73 08 | 4f 70 65 6e 50 6f 6c 79 |olygons.|OpenPoly|
|00003320| 09 43 6c 6f 73 65 50 6f | 6c 79 0a 4f 66 66 73 65 |.ClosePo|ly.Offse|
|00003330| 74 50 6f 6c 79 08 4b 69 | 6c 6c 50 6f 6c 79 10 44 |tPoly.Ki|llPoly.D|
|00003340| 72 61 77 69 6e 67 20 50 | 6f 6c 79 67 6f 6e 73 09 |rawing P|olygons.|
|00003350| 46 72 61 6d 65 50 6f 6c | 79 29 46 69 67 75 72 65 |FramePol|y)Figure|
|00003360| 20 33 2d 32 32 09 46 72 | 61 6d 69 6e 67 20 61 6e | 3-22.Fr|aming an|
|00003370| 64 20 70 61 69 6e 74 69 | 6e 67 20 70 6f 6c 79 67 |d painti|ng polyg|
|00003380| 6f 6e 73 09 50 61 69 6e | 74 50 6f 6c 79 08 46 69 |ons.Pain|tPoly.Fi|
|00003390| 6c 6c 50 6f 6c 79 09 45 | 72 61 73 65 50 6f 6c 79 |llPoly.E|rasePoly|
|000033a0| 0a 49 6e 76 65 72 74 50 | 6f 6c 79 1d 43 72 65 61 |.InvertP|oly.Crea|
|000033b0| 74 69 6e 67 20 61 6e 64 | 20 4d 61 6e 61 67 69 6e |ting and| Managin|
|000033c0| 67 20 52 65 67 69 6f 6e | 73 06 4e 65 77 52 67 6e |g Region|s.NewRgn|
|000033d0| 07 4f 70 65 6e 52 67 6e | 08 43 6c 6f 73 65 52 67 |.OpenRgn|.CloseRg|
|000033e0| 6e 0a 44 69 73 70 6f 73 | 65 52 67 6e 07 43 6f 70 |n.Dispos|eRgn.Cop|
|000033f0| 79 52 67 6e 0b 53 65 74 | 45 6d 70 74 79 52 67 6e |yRgn.Set|EmptyRgn|
|00003400| 0a 53 65 74 52 65 63 74 | 52 67 6e 07 52 65 63 74 |.SetRect|Rgn.Rect|
|00003410| 52 67 6e 09 4f 66 66 73 | 65 74 52 67 6e 08 49 6e |Rgn.Offs|etRgn.In|
|00003420| 73 65 74 52 67 6e 07 53 | 65 63 74 52 67 6e 08 55 |setRgn.S|ectRgn.U|
|00003430| 6e 69 6f 6e 52 67 6e 07 | 44 69 66 66 52 67 6e 06 |nionRgn.|DiffRgn.|
|00003440| 58 6f 72 52 67 6e 07 50 | 74 49 6e 52 67 6e 09 52 |XorRgn.P|tInRgn.R|
|00003450| 65 63 74 49 6e 52 67 6e | 08 45 71 75 61 6c 52 67 |ectInRgn|.EqualRg|
|00003460| 6e 08 45 6d 70 74 79 52 | 67 6e 0f 44 72 61 77 69 |n.EmptyR|gn.Drawi|
|00003470| 6e 67 20 52 65 67 69 6f | 6e 73 08 46 72 61 6d 65 |ng Regio|ns.Frame|
|00003480| 52 67 6e 08 50 61 69 6e | 74 52 67 6e 07 46 69 6c |Rgn.Pain|tRgn.Fil|
|00003490| 6c 52 67 6e 08 45 72 61 | 73 65 52 67 6e 09 49 6e |lRgn.Era|seRgn.In|
|000034a0| 76 65 72 74 52 67 6e 3d | 53 63 61 6c 69 6e 67 20 |vertRgn=|Scaling |
|000034b0| 61 6e 64 20 4d 61 70 70 | 69 6e 67 20 50 6f 69 6e |and Mapp|ing Poin|
|000034c0| 74 73 2c 20 52 65 63 74 | 61 6e 67 6c 65 73 2c 20 |ts, Rect|angles, |
|000034d0| 50 6f 6c 79 67 6f 6e 73 | 2c 20 61 6e 64 20 52 65 |Polygons|, and Re|
|000034e0| 67 69 6f 6e 73 07 53 63 | 61 6c 65 50 74 23 46 69 |gions.Sc|alePt#Fi|
|000034f0| 67 75 72 65 20 33 2d 32 | 33 09 55 73 69 6e 67 20 |gure 3-2|3.Using |
|00003500| 53 63 61 6c 65 50 74 20 | 61 6e 64 20 4d 61 70 50 |ScalePt |and MapP|
|00003510| 74 05 4d 61 70 50 74 07 | 4d 61 70 52 65 63 74 06 |t.MapPt.|MapRect.|
|00003520| 4d 61 70 52 67 6e 07 4d | 61 70 50 6f 6c 79 21 43 |MapRgn.M|apPoly!C|
|00003530| 61 6c 63 75 6c 61 74 69 | 6e 67 20 42 6c 61 63 6b |alculati|ng Black|
|00003540| 2d 61 6e 64 2d 57 68 69 | 74 65 20 46 69 6c 6c 73 |-and-Whi|te Fills|
|00003550| 08 53 65 65 64 46 69 6c | 6c 54 46 69 67 75 72 65 |.SeedFil|lTFigure|
|00003560| 20 33 2d 32 34 09 41 20 | 73 6f 75 72 63 65 20 69 | 3-24.A |source i|
|00003570| 6d 61 67 65 20 61 6e 64 | 20 69 74 73 20 72 65 73 |mage and| its res|
|00003580| 75 6c 74 69 6e 67 20 6d | 61 73 6b 20 70 72 6f 64 |ulting m|ask prod|
|00003590| 75 63 65 64 20 62 79 20 | 74 68 65 20 53 65 65 64 |uced by |the Seed|
|000035a0| 46 69 6c 6c 20 70 72 6f | 63 65 64 75 72 65 3f 46 |Fill pro|cedure?F|
|000035b0| 69 67 75 72 65 20 33 2d | 32 35 09 50 61 72 61 6d |igure 3-|25.Param|
|000035c0| 65 74 65 72 73 20 66 6f | 72 20 74 68 65 20 53 65 |eters fo|r the Se|
|000035d0| 65 64 46 69 6c 6c 20 61 | 6e 64 20 43 61 6c 63 4d |edFill a|nd CalcM|
|000035e0| 61 73 6b 20 70 72 6f 63 | 65 64 75 72 65 73 08 43 |ask proc|edures.C|
|000035f0| 61 6c 63 4d 61 73 6b 54 | 46 69 67 75 72 65 20 33 |alcMaskT|Figure 3|
|00003600| 2d 32 36 09 41 20 73 6f | 75 72 63 65 20 69 6d 61 |-26.A so|urce ima|
|00003610| 67 65 20 61 6e 64 20 74 | 68 65 20 72 65 73 75 6c |ge and t|he resul|
|00003620| 74 69 6e 67 20 6d 61 73 | 6b 20 70 72 6f 64 75 63 |ting mas|k produc|
|00003630| 65 64 20 62 79 20 74 68 | 65 20 43 61 6c 63 4d 61 |ed by th|e CalcMa|
|00003640| 73 6b 20 70 72 6f 63 65 | 64 75 72 65 0e 43 6f 70 |sk proce|dure.Cop|
|00003650| 79 69 6e 67 20 49 6d 61 | 67 65 73 08 43 6f 70 79 |ying Ima|ges.Copy|
|00003660| 42 69 74 73 2e 46 69 67 | 75 72 65 20 33 2d 32 37 |Bits.Fig|ure 3-27|
|00003670| 09 55 73 69 6e 67 20 43 | 6f 70 79 42 69 74 73 20 |.Using C|opyBits |
|00003680| 74 6f 20 73 74 72 65 74 | 63 68 20 61 6e 20 69 6d |to stret|ch an im|
|00003690| 61 67 65 08 43 6f 70 79 | 4d 61 73 6b 0c 43 6f 70 |age.Copy|Mask.Cop|
|000036a0| 79 44 65 65 70 4d 61 73 | 6b 23 44 72 61 77 69 6e |yDeepMas|k#Drawin|
|000036b0| 67 20 57 69 74 68 20 74 | 68 65 20 45 69 67 68 74 |g With t|he Eight|
|000036c0| 2d 43 6f 6c 6f 72 20 53 | 79 73 74 65 6d 09 46 6f |-Color S|ystem.Fo|
|000036d0| 72 65 43 6f 6c 6f 72 09 | 42 61 63 6b 43 6f 6c 6f |reColor.|BackColo|
|000036e0| 72 08 43 6f 6c 6f 72 42 | 69 74 32 44 65 74 65 72 |r.ColorB|it2Deter|
|000036f0| 6d 69 6e 69 6e 67 20 57 | 68 65 74 68 65 72 20 51 |mining W|hether Q|
|00003700| 75 69 63 6b 44 72 61 77 | 20 48 61 73 20 46 69 6e |uickDraw| Has Fin|
|00003710| 69 73 68 65 64 20 44 72 | 61 77 69 6e 67 06 51 44 |ished Dr|awing.QD|
|00003720| 44 6f 6e 65 19 47 65 74 | 74 69 6e 67 20 50 61 74 |Done.Get|ting Pat|
|00003730| 74 65 72 6e 20 52 65 73 | 6f 75 72 63 65 73 0a 47 |tern Res|ources.G|
|00003740| 65 74 50 61 74 74 65 72 | 6e 0d 47 65 74 49 6e 64 |etPatter|n.GetInd|
|00003750| 50 61 74 74 65 72 6e 1d | 46 69 67 75 72 65 20 33 |Pattern.|Figure 3|
|00003760| 2d 32 38 09 53 74 61 6e | 64 61 72 64 20 70 61 74 |-28.Stan|dard pat|
|00003770| 74 65 72 6e 73 20 43 75 | 73 74 6f 6d 69 7a 69 6e |terns Cu|stomizin|
|00003780| 67 20 51 75 69 63 6b 44 | 72 61 77 20 4f 70 65 72 |g QuickD|raw Oper|
|00003790| 61 74 69 6f 6e 73 0b 53 | 65 74 53 74 64 50 72 6f |ations.S|etStdPro|
|000037a0| 63 73 07 53 74 64 54 65 | 78 74 07 53 74 64 4c 69 |cs.StdTe|xt.StdLi|
|000037b0| 6e 65 07 53 74 64 52 65 | 63 74 08 53 74 64 52 52 |ne.StdRe|ct.StdRR|
|000037c0| 65 63 74 07 53 74 64 4f | 76 61 6c 06 53 74 64 41 |ect.StdO|val.StdA|
|000037d0| 72 63 07 53 74 64 50 6f | 6c 79 06 53 74 64 52 67 |rc.StdPo|ly.StdRg|
|000037e0| 6e 07 53 74 64 42 69 74 | 73 0a 53 74 64 43 6f 6d |n.StdBit|s.StdCom|
|000037f0| 6d 65 6e 74 0a 53 74 64 | 54 78 74 4d 65 61 73 09 |ment.Std|TxtMeas.|
|00003800| 53 74 64 47 65 74 50 69 | 63 09 53 74 64 50 75 74 |StdGetPi|c.StdPut|
|00003810| 50 69 63 09 52 65 73 6f | 75 72 63 65 73 14 54 68 |Pic.Reso|urces.Th|
|00003820| 65 20 50 61 74 74 65 72 | 6e 20 52 65 73 6f 75 72 |e Patter|n Resour|
|00003830| 63 65 3a 46 69 67 75 72 | 65 20 33 2d 32 39 09 46 |ce:Figur|e 3-29.F|
|00003840| 6f 72 6d 61 74 20 6f 66 | 20 61 20 63 6f 6d 70 69 |ormat of| a compi|
|00003850| 6c 65 64 20 70 61 74 74 | 65 72 6e 20 28 27 50 41 |led patt|ern ('PA|
|00003860| 54 20 27 29 20 72 65 73 | 6f 75 72 63 65 19 54 68 |T ') res|ource.Th|
|00003870| 65 20 50 61 74 74 65 72 | 6e 20 4c 69 73 74 20 52 |e Patter|n List R|
|00003880| 65 73 6f 75 72 63 65 3f | 46 69 67 75 72 65 20 33 |esource?|Figure 3|
|00003890| 2d 33 30 09 46 6f 72 6d | 61 74 20 6f 66 20 61 20 |-30.Form|at of a |
|000038a0| 63 6f 6d 70 69 6c 65 64 | 20 70 61 74 74 65 72 6e |compiled| pattern|
|000038b0| 20 6c 69 73 74 20 28 27 | 50 41 54 23 27 29 20 72 | list ('|PAT#') r|
|000038c0| 65 73 6f 75 72 63 65 1d | 0d 53 75 6d 6d 61 72 79 |esource.|.Summary|
|000038d0| 20 6f 66 20 51 75 69 63 | 6b 44 72 61 77 20 44 72 | of Quic|kDraw Dr|
|000038e0| 61 77 69 6e 67 0f 43 6f | 6c 6f 72 20 51 75 69 63 |awing.Co|lor Quic|
|000038f0| 6b 44 72 61 77 16 0d 41 | 62 6f 75 74 20 43 6f 6c |kDraw..A|bout Col|
|00003900| 6f 72 20 51 75 69 63 6b | 44 72 61 77 0a 52 47 42 |or Quick|Draw.RGB|
|00003910| 20 43 6f 6c 6f 72 73 33 | 54 68 65 20 43 6f 6c 6f | Colors3|The Colo|
|00003920| 72 20 44 72 61 77 69 6e | 67 20 45 6e 76 69 72 6f |r Drawin|g Enviro|
|00003930| 6e 6d 65 6e 74 3a 20 43 | 6f 6c 6f 72 20 47 72 61 |nment: C|olor Gra|
|00003940| 70 68 69 63 73 20 50 6f | 72 74 73 22 46 69 67 75 |phics Po|rts"Figu|
|00003950| 72 65 20 34 2d 31 09 54 | 68 65 20 63 6f 6c 6f 72 |re 4-1.T|he color|
|00003960| 20 67 72 61 70 68 69 63 | 73 20 70 6f 72 74 0a 50 | graphic|s port.P|
|00003970| 69 78 65 6c 20 4d 61 70 | 73 18 46 69 67 75 72 65 |ixel Map|s.Figure|
|00003980| 20 34 2d 32 09 54 68 65 | 20 70 69 78 65 6c 20 6d | 4-2.The| pixel m|
|00003990| 61 70 0e 50 69 78 65 6c | 20 50 61 74 74 65 72 6e |ap.Pixel| Pattern|
|000039a0| 73 3b 43 6f 6c 6f 72 20 | 51 75 69 63 6b 44 72 61 |s;Color |QuickDra|
|000039b0| 77 d5 73 20 54 72 61 6e | 73 6c 61 74 69 6f 6e 20 |w.s Tran|slation |
|000039c0| 6f 66 20 52 47 42 20 43 | 6f 6c 6f 72 73 20 74 6f |of RGB C|olors to|
|000039d0| 20 50 69 78 65 6c 20 56 | 61 6c 75 65 73 5c 46 69 | Pixel V|alues\Fi|
|000039e0| 67 75 72 65 20 34 2d 33 | 09 54 72 61 6e 73 6c 61 |gure 4-3|.Transla|
|000039f0| 74 69 6e 67 20 61 20 34 | 38 2d 62 69 74 20 52 47 |ting a 4|8-bit RG|
|00003a00| 42 43 6f 6c 6f 72 20 72 | 65 63 6f 72 64 20 74 6f |BColor r|ecord to|
|00003a10| 20 61 6e 20 38 2d 62 69 | 74 20 70 69 78 65 6c 20 | an 8-bi|t pixel |
|00003a20| 76 61 6c 75 65 20 6f 6e | 20 61 6e 20 69 6e 64 65 |value on| an inde|
|00003a30| 78 65 64 20 64 65 76 69 | 63 65 5c 46 69 67 75 72 |xed devi|ce\Figur|
|00003a40| 65 20 34 2d 34 09 54 72 | 61 6e 73 6c 61 74 69 6e |e 4-4.Tr|anslatin|
|00003a50| 67 20 61 6e 20 38 2d 62 | 69 74 20 70 69 78 65 6c |g an 8-b|it pixel|
|00003a60| 20 76 61 6c 75 65 20 6f | 6e 20 61 6e 20 69 6e 64 | value o|n an ind|
|00003a70| 65 78 65 64 20 64 65 76 | 69 63 65 20 74 6f 20 61 |exed dev|ice to a|
|00003a80| 20 34 38 2d 62 69 74 20 | 52 47 42 43 6f 6c 6f 72 | 48-bit |RGBColor|
|00003a90| 20 72 65 63 6f 72 64 5a | 46 69 67 75 72 65 20 34 | recordZ|Figure 4|
|00003aa0| 2d 35 09 54 72 61 6e 73 | 6c 61 74 69 6e 67 20 61 |-5.Trans|lating a|
|00003ab0| 20 34 38 2d 62 69 74 20 | 52 47 42 43 6f 6c 6f 72 | 48-bit |RGBColor|
|00003ac0| 20 72 65 63 6f 72 64 20 | 74 6f 20 61 20 33 32 2d | record |to a 32-|
|00003ad0| 62 69 74 20 70 69 78 65 | 6c 20 76 61 6c 75 65 20 |bit pixe|l value |
|00003ae0| 6f 6e 20 61 20 64 69 72 | 65 63 74 20 64 65 76 69 |on a dir|ect devi|
|00003af0| 63 65 5a 46 69 67 75 72 | 65 20 34 2d 36 09 54 72 |ceZFigur|e 4-6.Tr|
|00003b00| 61 6e 73 6c 61 74 69 6e | 67 20 61 20 34 38 2d 62 |anslatin|g a 48-b|
|00003b10| 69 74 20 52 47 42 43 6f | 6c 6f 72 20 72 65 63 6f |it RGBCo|lor reco|
|00003b20| 72 64 20 74 6f 20 61 20 | 31 36 2d 62 69 74 20 70 |rd to a |16-bit p|
|00003b30| 69 78 65 6c 20 76 61 6c | 75 65 20 6f 6e 20 61 20 |ixel val|ue on a |
|00003b40| 64 69 72 65 63 74 20 64 | 65 76 69 63 65 47 46 69 |direct d|eviceGFi|
|00003b50| 67 75 72 65 20 34 2d 37 | 09 54 72 61 6e 73 6c 61 |gure 4-7|.Transla|
|00003b60| 74 69 6e 67 20 61 20 33 | 32 2d 62 69 74 20 70 69 |ting a 3|2-bit pi|
|00003b70| 78 65 6c 20 76 61 6c 75 | 65 20 74 6f 20 61 20 34 |xel valu|e to a 4|
|00003b80| 38 2d 62 69 74 20 52 47 | 42 43 6f 6c 6f 72 20 72 |8-bit RG|BColor r|
|00003b90| 65 63 6f 72 64 47 46 69 | 67 75 72 65 20 34 2d 38 |ecordGFi|gure 4-8|
|00003ba0| 09 54 72 61 6e 73 6c 61 | 74 69 6e 67 20 61 20 31 |.Transla|ting a 1|
|00003bb0| 36 2d 62 69 74 20 70 69 | 78 65 6c 20 76 61 6c 75 |6-bit pi|xel valu|
|00003bc0| 65 20 74 6f 20 61 20 34 | 38 2d 62 69 74 20 52 47 |e to a 4|8-bit RG|
|00003bd0| 42 43 6f 6c 6f 72 20 72 | 65 63 6f 72 64 1b 43 6f |BColor r|ecord.Co|
|00003be0| 6c 6f 72 73 20 6f 6e 20 | 47 72 61 79 73 63 61 6c |lors on |Grayscal|
|00003bf0| 65 20 53 63 72 65 65 6e | 73 16 0d 55 73 69 6e 67 |e Screen|s..Using|
|00003c00| 20 43 6f 6c 6f 72 20 51 | 75 69 63 6b 44 72 61 77 | Color Q|uickDraw|
|00003c10| 1c 49 6e 69 74 69 61 6c | 69 7a 69 6e 67 20 43 6f |.Initial|izing Co|
|00003c20| 6c 6f 72 20 51 75 69 63 | 6b 44 72 61 77 1d 43 72 |lor Quic|kDraw.Cr|
|00003c30| 65 61 74 69 6e 67 20 43 | 6f 6c 6f 72 20 47 72 61 |eating C|olor Gra|
|00003c40| 70 68 69 63 73 20 50 6f | 72 74 73 44 4c 69 73 74 |phics Po|rtsDList|
|00003c50| 69 6e 67 20 34 2d 31 09 | 55 73 69 6e 67 20 74 68 |ing 4-1.|Using th|
|00003c60| 65 20 57 69 6e 64 6f 77 | 20 4d 61 6e 61 67 65 72 |e Window| Manager|
|00003c70| 20 74 6f 20 63 72 65 61 | 74 65 20 61 20 63 6f 6c | to crea|te a col|
|00003c80| 6f 72 20 67 72 61 70 68 | 69 63 73 20 70 6f 72 74 |or graph|ics port|
|00003c90| 28 44 72 61 77 69 6e 67 | 20 57 69 74 68 20 44 69 |(Drawing| With Di|
|00003ca0| 66 66 65 72 65 6e 74 20 | 46 6f 72 65 67 72 6f 75 |fferent |Foregrou|
|00003cb0| 6e 64 20 43 6f 6c 6f 72 | 73 29 4c 69 73 74 69 6e |nd Color|s)Listin|
|00003cc0| 67 20 34 2d 32 09 43 68 | 61 6e 67 69 6e 67 20 74 |g 4-2.Ch|anging t|
|00003cd0| 68 65 20 66 6f 72 65 67 | 72 6f 75 6e 64 20 63 6f |he foreg|round co|
|00003ce0| 6c 6f 72 4f 46 69 67 75 | 72 65 20 34 2d 39 09 44 |lorOFigu|re 4-9.D|
|00003cf0| 72 61 77 69 6e 67 20 77 | 69 74 68 20 74 77 6f 20 |rawing w|ith two |
|00003d00| 64 69 66 66 65 72 65 6e | 74 20 66 6f 72 65 67 72 |differen|t foregr|
|00003d10| 6f 75 6e 64 20 63 6f 6c | 6f 72 73 20 28 6f 6e 20 |ound col|ors (on |
|00003d20| 61 20 67 72 61 79 73 63 | 61 6c 65 20 73 63 72 65 |a graysc|ale scre|
|00003d30| 65 6e 29 1b 44 72 61 77 | 69 6e 67 20 57 69 74 68 |en).Draw|ing With|
|00003d40| 20 50 69 78 65 6c 20 50 | 61 74 74 65 72 6e 73 3c | Pixel P|atterns<|
|00003d50| 46 69 67 75 72 65 20 34 | 2d 31 30 09 55 73 69 6e |Figure 4|-10.Usin|
|00003d60| 67 20 52 65 73 45 64 69 | 74 20 74 6f 20 63 72 65 |g ResEdi|t to cre|
|00003d70| 61 74 65 20 61 20 70 69 | 78 65 6c 20 70 61 74 74 |ate a pi|xel patt|
|00003d80| 65 72 6e 20 72 65 73 6f | 75 72 63 65 32 4c 69 73 |ern reso|urce2Lis|
|00003d90| 74 69 6e 67 20 34 2d 33 | 09 52 65 7a 20 69 6e 70 |ting 4-3|.Rez inp|
|00003da0| 75 74 20 66 6f 72 20 61 | 20 70 69 78 65 6c 20 70 |ut for a| pixel p|
|00003db0| 61 74 74 65 72 6e 20 72 | 65 73 6f 75 72 63 65 32 |attern r|esource2|
|00003dc0| 4c 69 73 74 69 6e 67 20 | 34 2d 34 09 55 73 69 6e |Listing |4-4.Usin|
|00003dd0| 67 20 70 69 78 65 6c 20 | 70 61 74 74 65 72 6e 73 |g pixel |patterns|
|00003de0| 20 74 6f 20 70 61 69 6e | 74 20 61 6e 64 20 66 69 | to pain|t and fi|
|00003df0| 6c 6c 3f 46 69 67 75 72 | 65 20 34 2d 31 31 09 50 |ll?Figur|e 4-11.P|
|00003e00| 61 69 6e 74 69 6e 67 20 | 61 6e 64 20 66 69 6c 6c |ainting |and fill|
|00003e10| 69 6e 67 20 72 65 63 74 | 61 6e 67 6c 65 73 20 77 |ing rect|angles w|
|00003e20| 69 74 68 20 70 69 78 65 | 6c 20 70 61 74 74 65 72 |ith pixe|l patter|
|00003e30| 6e 73 2b 43 6f 70 79 69 | 6e 67 20 50 69 78 65 6c |ns+Copyi|ng Pixel|
|00003e40| 73 20 42 65 74 77 65 65 | 6e 20 43 6f 6c 6f 72 20 |s Betwee|n Color |
|00003e50| 47 72 61 70 68 69 63 73 | 20 50 6f 72 74 73 3c 46 |Graphics| Ports<F|
|00003e60| 69 67 75 72 65 20 34 2d | 31 32 09 43 6f 70 79 69 |igure 4-|12.Copyi|
|00003e70| 6e 67 20 70 69 78 65 6c | 20 69 6d 61 67 65 73 20 |ng pixel| images |
|00003e80| 77 69 74 68 20 74 68 65 | 20 43 6f 70 79 42 69 74 |with the| CopyBit|
|00003e90| 73 20 70 72 6f 63 65 64 | 75 72 65 3c 46 69 67 75 |s proced|ure<Figu|
|00003ea0| 72 65 20 34 2d 31 33 09 | 43 6f 70 79 69 6e 67 20 |re 4-13.|Copying |
|00003eb0| 70 69 78 65 6c 20 69 6d | 61 67 65 73 20 77 69 74 |pixel im|ages wit|
|00003ec0| 68 20 74 68 65 20 43 6f | 70 79 4d 61 73 6b 20 70 |h the Co|pyMask p|
|00003ed0| 72 6f 63 65 64 75 72 65 | 40 46 69 67 75 72 65 20 |rocedure|@Figure |
|00003ee0| 34 2d 31 34 09 43 6f 70 | 79 69 6e 67 20 70 69 78 |4-14.Cop|ying pix|
|00003ef0| 65 6c 20 69 6d 61 67 65 | 73 20 77 69 74 68 20 74 |el image|s with t|
|00003f00| 68 65 20 43 6f 70 79 44 | 65 65 70 4d 61 73 6b 20 |he CopyD|eepMask |
|00003f10| 70 72 6f 63 65 64 75 72 | 65 28 42 6f 6f 6c 65 61 |procedur|e(Boolea|
|00003f20| 6e 20 54 72 61 6e 73 66 | 65 72 20 4d 6f 64 65 73 |n Transf|er Modes|
|00003f30| 20 57 69 74 68 20 43 6f | 6c 6f 72 20 50 69 78 65 | With Co|lor Pixe|
|00003f40| 6c 73 32 54 61 62 6c 65 | 20 34 2d 31 09 42 6f 6f |ls2Table| 4-1.Boo|
|00003f50| 6c 65 61 6e 20 73 6f 75 | 72 63 65 20 6d 6f 64 65 |lean sou|rce mode|
|00003f60| 73 20 77 69 74 68 20 63 | 6f 6c 6f 72 65 64 20 70 |s with c|olored p|
|00003f70| 69 78 65 6c 73 38 4c 69 | 73 74 69 6e 67 20 34 2d |ixels8Li|sting 4-|
|00003f80| 35 09 55 73 69 6e 67 20 | 43 6f 70 79 42 69 74 73 |5.Using |CopyBits|
|00003f90| 20 74 6f 20 70 72 6f 64 | 75 63 65 20 63 6f 6c 6f | to prod|uce colo|
|00003fa0| 72 61 74 69 6f 6e 20 65 | 66 66 65 63 74 73 09 44 |ration e|ffects.D|
|00003fb0| 69 74 68 65 72 69 6e 67 | 19 41 72 69 74 68 6d 65 |ithering|.Arithme|
|00003fc0| 74 69 63 20 54 72 61 6e | 73 66 65 72 20 4d 6f 64 |tic Tran|sfer Mod|
|00003fd0| 65 73 31 54 61 62 6c 65 | 20 34 2d 32 09 41 72 69 |es1Table| 4-2.Ari|
|00003fe0| 74 68 6d 65 74 69 63 20 | 6d 6f 64 65 73 20 69 6e |thmetic |modes in|
|00003ff0| 20 61 20 31 2d 62 69 74 | 20 65 6e 76 69 72 6f 6e | a 1-bit| environ|
|00004000| 6d 65 6e 74 0c 48 69 67 | 68 6c 69 67 68 74 69 6e |ment.Hig|hlightin|
|00004010| 67 39 46 69 67 75 72 65 | 20 34 2d 31 35 09 44 69 |g9Figure| 4-15.Di|
|00004020| 66 66 65 72 65 6e 63 65 | 20 62 65 74 77 65 65 6e |fference| between|
|00004030| 20 68 69 67 68 6c 69 67 | 68 74 69 6e 67 20 61 6e | highlig|hting an|
|00004040| 64 20 69 6e 76 65 72 74 | 69 6e 67 25 4c 69 73 74 |d invert|ing%List|
|00004050| 69 6e 67 20 34 2d 36 09 | 53 65 74 74 69 6e 67 20 |ing 4-6.|Setting |
|00004060| 74 68 65 20 68 69 67 68 | 6c 69 67 68 74 20 62 69 |the high|light bi|
|00004070| 74 27 4c 69 73 74 69 6e | 67 20 34 2d 37 09 55 73 |t'Listin|g 4-7.Us|
|00004080| 69 6e 67 20 68 69 67 68 | 6c 69 67 68 74 69 6e 67 |ing high|lighting|
|00004090| 20 66 6f 72 20 74 65 78 | 74 19 43 6f 6c 6f 72 20 | for tex|t.Color |
|000040a0| 51 75 69 63 6b 44 72 61 | 77 20 52 65 66 65 72 65 |QuickDra|w Refere|
|000040b0| 6e 63 65 0f 44 61 74 61 | 20 53 74 72 75 63 74 75 |nce.Data| Structu|
|000040c0| 72 65 73 06 50 69 78 4d | 61 70 09 43 47 72 61 66 |res.PixM|ap.CGraf|
|000040d0| 50 6f 72 74 08 52 47 42 | 43 6f 6c 6f 72 09 43 6f |Port.RGB|Color.Co|
|000040e0| 6c 6f 72 53 70 65 63 0a | 43 6f 6c 6f 72 54 61 62 |lorSpec.|ColorTab|
|000040f0| 6c 65 08 4d 61 74 63 68 | 52 65 63 06 50 69 78 50 |le.Match|Rec.PixP|
|00004100| 61 74 08 43 51 44 50 72 | 6f 63 73 08 47 72 61 66 |at.CQDPr|ocs.Graf|
|00004110| 56 61 72 73 18 43 6f 6c | 6f 72 20 51 75 69 63 6b |Vars.Col|or Quick|
|00004120| 44 72 61 77 20 52 6f 75 | 74 69 6e 65 73 28 4f 70 |Draw Rou|tines(Op|
|00004130| 65 6e 69 6e 67 20 61 6e | 64 20 43 6c 6f 73 69 6e |ening an|d Closin|
|00004140| 67 20 43 6f 6c 6f 72 20 | 47 72 61 70 68 69 63 73 |g Color |Graphics|
|00004150| 20 50 6f 72 74 73 09 4f | 70 65 6e 43 50 6f 72 74 | Ports.O|penCPort|
|00004160| 30 54 61 62 6c 65 20 34 | 2d 33 09 49 6e 69 74 69 |0Table 4|-3.Initi|
|00004170| 61 6c 20 76 61 6c 75 65 | 73 20 69 6e 20 74 68 65 |al value|s in the|
|00004180| 20 43 47 72 61 66 50 6f | 72 74 20 72 65 63 6f 72 | CGrafPo|rt recor|
|00004190| 64 09 49 6e 69 74 43 50 | 6f 72 74 0a 43 6c 6f 73 |d.InitCP|ort.Clos|
|000041a0| 65 43 50 6f 72 74 1d 4d | 61 6e 61 67 69 6e 67 20 |eCPort.M|anaging |
|000041b0| 61 20 43 6f 6c 6f 72 20 | 47 72 61 70 68 69 63 73 |a Color |Graphics|
|000041c0| 20 50 65 6e 09 50 65 6e | 50 69 78 50 61 74 25 43 | Pen.Pen|PixPat%C|
|000041d0| 68 61 6e 67 69 6e 67 20 | 74 68 65 20 42 61 63 6b |hanging |the Back|
|000041e0| 67 72 6f 75 6e 64 20 50 | 69 78 65 6c 20 50 61 74 |ground P|ixel Pat|
|000041f0| 74 65 72 6e 0a 42 61 63 | 6b 50 69 78 50 61 74 23 |tern.Bac|kPixPat#|
|00004200| 44 72 61 77 69 6e 67 20 | 57 69 74 68 20 43 6f 6c |Drawing |With Col|
|00004210| 6f 72 20 51 75 69 63 6b | 44 72 61 77 20 43 6f 6c |or Quick|Draw Col|
|00004220| 6f 72 73 0c 52 47 42 46 | 6f 72 65 43 6f 6c 6f 72 |ors.RGBF|oreColor|
|00004230| 3c 54 61 62 6c 65 20 34 | 2d 34 09 54 68 65 20 63 |<Table 4|-4.The c|
|00004240| 6f 6c 6f 72 73 20 64 65 | 66 69 6e 65 64 20 62 79 |olors de|fined by|
|00004250| 20 74 68 65 20 67 6c 6f | 62 61 6c 20 76 61 72 69 | the glo|bal vari|
|00004260| 61 62 6c 65 20 51 44 43 | 6f 6c 6f 72 73 0c 52 47 |able QDC|olors.RG|
|00004270| 42 42 61 63 6b 43 6f 6c | 6f 72 09 53 65 74 43 50 |BBackCol|or.SetCP|
|00004280| 69 78 65 6c 09 46 69 6c | 6c 43 52 65 63 74 0e 46 |ixel.Fil|lCRect.F|
|00004290| 69 6c 6c 43 52 6f 75 6e | 64 52 65 63 74 09 46 69 |illCRoun|dRect.Fi|
|000042a0| 6c 6c 43 4f 76 61 6c 08 | 46 69 6c 6c 43 41 72 63 |llCOval.|FillCArc|
|000042b0| 09 46 69 6c 6c 43 50 6f | 6c 79 08 46 69 6c 6c 43 |.FillCPo|ly.FillC|
|000042c0| 52 67 6e 07 4f 70 43 6f | 6c 6f 72 0b 48 69 6c 69 |Rgn.OpCo|lor.Hili|
|000042d0| 74 65 43 6f 6c 6f 72 37 | 44 65 74 65 72 6d 69 6e |teColor7|Determin|
|000042e0| 69 6e 67 20 43 75 72 72 | 65 6e 74 20 43 6f 6c 6f |ing Curr|ent Colo|
|000042f0| 72 73 20 61 6e 64 20 42 | 65 73 74 20 49 6e 74 65 |rs and B|est Inte|
|00004300| 72 6d 65 64 69 61 74 65 | 20 43 6f 6c 6f 72 73 0c |rmediate| Colors.|
|00004310| 47 65 74 46 6f 72 65 43 | 6f 6c 6f 72 0c 47 65 74 |GetForeC|olor.Get|
|00004320| 42 61 63 6b 43 6f 6c 6f | 72 09 47 65 74 43 50 69 |BackColo|r.GetCPi|
|00004330| 78 65 6c 07 47 65 74 47 | 72 61 79 17 43 61 6c 63 |xel.GetG|ray.Calc|
|00004340| 75 6c 61 74 69 6e 67 20 | 43 6f 6c 6f 72 20 46 69 |ulating |Color Fi|
|00004350| 6c 6c 73 09 53 65 65 64 | 43 46 69 6c 6c 09 43 61 |lls.Seed|CFill.Ca|
|00004360| 6c 63 43 4d 61 73 6b 2e | 43 72 65 61 74 69 6e 67 |lcCMask.|Creating|
|00004370| 2c 20 53 65 74 74 69 6e | 67 2c 20 61 6e 64 20 44 |, Settin|g, and D|
|00004380| 69 73 70 6f 73 69 6e 67 | 20 6f 66 20 50 69 78 65 |isposing| of Pixe|
|00004390| 6c 20 4d 61 70 73 09 4e | 65 77 50 69 78 4d 61 70 |l Maps.N|ewPixMap|
|000043a0| 0a 43 6f 70 79 50 69 78 | 4d 61 70 0a 53 65 74 50 |.CopyPix|Map.SetP|
|000043b0| 6f 72 74 50 69 78 0d 44 | 69 73 70 6f 73 65 50 69 |ortPix.D|isposePi|
|000043c0| 78 4d 61 70 28 43 72 65 | 61 74 69 6e 67 20 61 6e |xMap(Cre|ating an|
|000043d0| 64 20 44 69 73 70 6f 73 | 69 6e 67 20 6f 66 20 50 |d Dispos|ing of P|
|000043e0| 69 78 65 6c 20 50 61 74 | 74 65 72 6e 73 09 47 65 |ixel Pat|terns.Ge|
|000043f0| 74 50 69 78 50 61 74 09 | 4e 65 77 50 69 78 50 61 |tPixPat.|NewPixPa|
|00004400| 74 0a 43 6f 70 79 50 69 | 78 50 61 74 0a 4d 61 6b |t.CopyPi|xPat.Mak|
|00004410| 65 52 47 42 50 61 74 0d | 44 69 73 70 6f 73 65 50 |eRGBPat.|DisposeP|
|00004420| 69 78 50 61 74 26 43 72 | 65 61 74 69 6e 67 20 61 |ixPat&Cr|eating a|
|00004430| 6e 64 20 44 69 73 70 6f | 73 69 6e 67 20 6f 66 20 |nd Dispo|sing of |
|00004440| 43 6f 6c 6f 72 20 54 61 | 62 6c 65 73 09 47 65 74 |Color Ta|bles.Get|
|00004450| 43 54 61 62 6c 65 41 54 | 61 62 6c 65 20 34 2d 35 |CTableAT|able 4-5|
|00004460| 09 54 68 65 20 64 65 66 | 61 75 6c 74 20 63 6f 6c |.The def|ault col|
|00004470| 6f 72 20 74 61 62 6c 65 | 73 20 66 6f 72 20 67 72 |or table|s for gr|
|00004480| 61 79 73 63 61 6c 65 20 | 67 72 61 70 68 69 63 73 |ayscale |graphics|
|00004490| 20 64 65 76 69 63 65 73 | 3d 54 61 62 6c 65 20 34 | devices|=Table 4|
|000044a0| 2d 36 09 54 68 65 20 64 | 65 66 61 75 6c 74 20 63 |-6.The d|efault c|
|000044b0| 6f 6c 6f 72 20 74 61 62 | 6c 65 73 20 66 6f 72 20 |olor tab|les for |
|000044c0| 63 6f 6c 6f 72 20 67 72 | 61 70 68 69 63 73 20 64 |color gr|aphics d|
|000044d0| 65 76 69 63 65 73 0d 44 | 69 73 70 6f 73 65 43 54 |evices.D|isposeCT|
|000044e0| 61 62 6c 65 27 52 65 74 | 72 69 65 76 69 6e 67 20 |able'Ret|rieving |
|000044f0| 43 6f 6c 6f 72 20 51 75 | 69 63 6b 44 72 61 77 20 |Color Qu|ickDraw |
|00004500| 52 65 73 75 6c 74 20 43 | 6f 64 65 73 07 51 44 45 |Result C|odes.QDE|
|00004510| 72 72 6f 72 26 43 75 73 | 74 6f 6d 69 7a 69 6e 67 |rror&Cus|tomizing|
|00004520| 20 43 6f 6c 6f 72 20 51 | 75 69 63 6b 44 72 61 77 | Color Q|uickDraw|
|00004530| 20 4f 70 65 72 61 74 69 | 6f 6e 73 0c 53 65 74 53 | Operati|ons.SetS|
|00004540| 74 64 43 50 72 6f 63 73 | 2d 52 65 70 6f 72 74 69 |tdCProcs|-Reporti|
|00004550| 6e 67 20 44 61 74 61 20 | 53 74 72 75 63 74 75 72 |ng Data |Structur|
|00004560| 65 20 43 68 61 6e 67 65 | 73 20 74 6f 20 51 75 69 |e Change|s to Qui|
|00004570| 63 6b 44 72 61 77 0b 43 | 54 61 62 43 68 61 6e 67 |ckDraw.C|TabChang|
|00004580| 65 64 0d 50 69 78 50 61 | 74 43 68 61 6e 67 65 64 |ed.PixPa|tChanged|
|00004590| 0b 50 6f 72 74 43 68 61 | 6e 67 65 64 0e 47 44 65 |.PortCha|nged.GDe|
|000045a0| 76 69 63 65 43 68 61 6e | 67 65 64 1b 41 70 70 6c |viceChan|ged.Appl|
|000045b0| 69 63 61 74 69 6f 6e 2d | 44 65 66 69 6e 65 64 20 |ication-|Defined |
|000045c0| 52 6f 75 74 69 6e 65 0d | 4d 79 43 6f 6c 6f 72 53 |Routine.|MyColorS|
|000045d0| 65 61 72 63 68 09 52 65 | 73 6f 75 72 63 65 73 1a |earch.Re|sources.|
|000045e0| 54 68 65 20 50 69 78 65 | 6c 20 50 61 74 74 65 72 |The Pixe|l Patter|
|000045f0| 6e 20 52 65 73 6f 75 72 | 63 65 40 46 69 67 75 72 |n Resour|ce@Figur|
|00004600| 65 20 34 2d 31 36 09 46 | 6f 72 6d 61 74 20 6f 66 |e 4-16.F|ormat of|
|00004610| 20 61 20 63 6f 6d 70 69 | 6c 65 64 20 70 69 78 65 | a compi|led pixe|
|00004620| 6c 20 70 61 74 74 65 72 | 6e 20 28 27 70 70 61 74 |l patter|n ('ppat|
|00004630| 27 29 20 72 65 73 6f 75 | 72 63 65 18 54 68 65 20 |') resou|rce.The |
|00004640| 43 6f 6c 6f 72 20 54 61 | 62 6c 65 20 52 65 73 6f |Color Ta|ble Reso|
|00004650| 75 72 63 65 3e 46 69 67 | 75 72 65 20 34 2d 31 37 |urce>Fig|ure 4-17|
|00004660| 09 46 6f 72 6d 61 74 20 | 6f 66 20 61 20 63 6f 6d |.Format |of a com|
|00004670| 70 69 6c 65 64 20 63 6f | 6c 6f 72 20 74 61 62 6c |piled co|lor tabl|
|00004680| 65 20 28 27 63 6c 75 74 | 27 29 20 72 65 73 6f 75 |e ('clut|') resou|
|00004690| 72 63 65 17 54 68 65 20 | 43 6f 6c 6f 72 20 49 63 |rce.The |Color Ic|
|000046a0| 6f 6e 20 52 65 73 6f 75 | 72 63 65 3d 46 69 67 75 |on Resou|rce=Figu|
|000046b0| 72 65 20 34 2d 31 38 09 | 46 6f 72 6d 61 74 20 6f |re 4-18.|Format o|
|000046c0| 66 20 61 20 63 6f 6d 70 | 69 6c 65 64 20 63 6f 6c |f a comp|iled col|
|000046d0| 6f 72 20 69 63 6f 6e 20 | 28 27 63 69 63 6e 27 29 |or icon |('cicn')|
|000046e0| 20 72 65 73 6f 75 72 63 | 65 1b 0d 53 75 6d 6d 61 | resourc|e..Summa|
|000046f0| 72 79 20 6f 66 20 43 6f | 6c 6f 72 20 51 75 69 63 |ry of Co|lor Quic|
|00004700| 6b 44 72 61 77 10 47 72 | 61 70 68 69 63 73 20 44 |kDraw.Gr|aphics D|
|00004710| 65 76 69 63 65 73 16 41 | 62 6f 75 74 20 47 72 61 |evices.A|bout Gra|
|00004720| 70 68 69 63 73 20 44 65 | 76 69 63 65 73 1d 46 69 |phics De|vices.Fi|
|00004730| 67 75 72 65 20 35 2d 31 | 09 54 68 65 20 47 44 65 |gure 5-1|.The GDe|
|00004740| 76 69 63 65 20 72 65 63 | 6f 72 64 16 55 73 69 6e |vice rec|ord.Usin|
|00004750| 67 20 47 72 61 70 68 69 | 63 73 20 44 65 76 69 63 |g Graphi|cs Devic|
|00004760| 65 73 35 4f 70 74 69 6d | 69 7a 69 6e 67 20 59 6f |es5Optim|izing Yo|
|00004770| 75 72 20 49 6d 61 67 65 | 73 20 66 6f 72 20 44 69 |ur Image|s for Di|
|00004780| 66 66 65 72 65 6e 74 20 | 47 72 61 70 68 69 63 73 |fferent |Graphics|
|00004790| 20 44 65 76 69 63 65 73 | 2a 4c 69 73 74 69 6e 67 | Devices|*Listing|
|000047a0| 20 35 2d 31 09 55 73 69 | 6e 67 20 74 68 65 20 44 | 5-1.Usi|ng the D|
|000047b0| 65 76 69 63 65 4c 6f 6f | 70 20 70 72 6f 63 65 64 |eviceLoo|p proced|
|000047c0| 75 72 65 2a 4c 69 73 74 | 69 6e 67 20 35 2d 32 09 |ure*List|ing 5-2.|
|000047d0| 44 72 61 77 69 6e 67 20 | 69 6e 74 6f 20 64 69 66 |Drawing |into dif|
|000047e0| 66 65 72 65 6e 74 20 73 | 63 72 65 65 6e 73 26 5a |ferent s|creens&Z|
|000047f0| 6f 6f 6d 69 6e 67 20 57 | 69 6e 64 6f 77 73 20 6f |ooming W|indows o|
|00004800| 6e 20 4d 75 6c 74 69 73 | 63 72 65 65 6e 20 53 79 |n Multis|creen Sy|
|00004810| 73 74 65 6d 73 1c 4c 69 | 73 74 69 6e 67 20 35 2d |stems.Li|sting 5-|
|00004820| 33 09 5a 6f 6f 6d 69 6e | 67 20 61 20 77 69 6e 64 |3.Zoomin|g a wind|
|00004830| 6f 77 1e 53 65 74 74 69 | 6e 67 20 61 20 44 65 76 |ow.Setti|ng a Dev|
|00004840| 69 63 65 d5 73 20 50 69 | 78 65 6c 20 44 65 70 74 |ice.s Pi|xel Dept|
|00004850| 68 31 45 78 63 65 70 74 | 69 6f 6e 61 6c 20 43 61 |h1Except|ional Ca|
|00004860| 73 65 73 20 57 68 65 6e | 20 57 6f 72 6b 69 6e 67 |ses When| Working|
|00004870| 20 57 69 74 68 20 43 6f | 6c 6f 72 20 44 65 76 69 | With Co|lor Devi|
|00004880| 63 65 73 1a 47 72 61 70 | 68 69 63 73 20 44 65 76 |ces.Grap|hics Dev|
|00004890| 69 63 65 73 20 52 65 66 | 65 72 65 6e 63 65 0f 44 |ices Ref|erence.D|
|000048a0| 61 74 61 20 53 74 72 75 | 63 74 75 72 65 73 07 47 |ata Stru|ctures.G|
|000048b0| 44 65 76 69 63 65 0f 44 | 65 76 69 63 65 4c 6f 6f |Device.D|eviceLoo|
|000048c0| 70 46 6c 61 67 73 1d 52 | 6f 75 74 69 6e 65 73 20 |pFlags.R|outines |
|000048d0| 66 6f 72 20 47 72 61 70 | 68 69 63 73 20 44 65 76 |for Grap|hics Dev|
|000048e0| 69 63 65 73 33 43 72 65 | 61 74 69 6e 67 2c 20 53 |ices3Cre|ating, S|
|000048f0| 65 74 74 69 6e 67 2c 20 | 61 6e 64 20 44 69 73 70 |etting, |and Disp|
|00004900| 6f 73 69 6e 67 20 6f 66 | 20 47 44 65 76 69 63 65 |osing of| GDevice|
|00004910| 20 52 65 63 6f 72 64 73 | 0a 4e 65 77 47 44 65 76 | Records|.NewGDev|
|00004920| 69 63 65 0b 49 6e 69 74 | 47 44 65 76 69 63 65 12 |ice.Init|GDevice.|
|00004930| 53 65 74 44 65 76 69 63 | 65 41 74 74 72 69 62 75 |SetDevic|eAttribu|
|00004940| 74 65 0a 53 65 74 47 44 | 65 76 69 63 65 0e 44 69 |te.SetGD|evice.Di|
|00004950| 73 70 6f 73 65 47 44 65 | 76 69 63 65 26 47 65 74 |sposeGDe|vice&Get|
|00004960| 74 69 6e 67 20 74 68 65 | 20 41 76 61 69 6c 61 62 |ting the| Availab|
|00004970| 6c 65 20 47 72 61 70 68 | 69 63 73 20 44 65 76 69 |le Graph|ics Devi|
|00004980| 63 65 73 0a 47 65 74 47 | 44 65 76 69 63 65 0d 47 |ces.GetG|Device.G|
|00004990| 65 74 44 65 76 69 63 65 | 4c 69 73 74 0d 47 65 74 |etDevice|List.Get|
|000049a0| 4d 61 69 6e 44 65 76 69 | 63 65 0c 47 65 74 4d 61 |MainDevi|ce.GetMa|
|000049b0| 78 44 65 76 69 63 65 0d | 47 65 74 4e 65 78 74 44 |xDevice.|GetNextD|
|000049c0| 65 76 69 63 65 31 44 65 | 74 65 72 6d 69 6e 69 6e |evice1De|terminin|
|000049d0| 67 20 74 68 65 20 43 68 | 61 72 61 63 74 65 72 69 |g the Ch|aracteri|
|000049e0| 73 74 69 63 73 20 6f 66 | 20 61 20 56 69 64 65 6f |stics of| a Video|
|000049f0| 20 44 65 76 69 63 65 0a | 44 65 76 69 63 65 4c 6f | Device.|DeviceLo|
|00004a00| 6f 70 13 54 65 73 74 44 | 65 76 69 63 65 41 74 74 |op.TestD|eviceAtt|
|00004a10| 72 69 62 75 74 65 09 53 | 63 72 65 65 6e 52 65 73 |ribute.S|creenRes|
|00004a20| 2b 43 68 61 6e 67 69 6e | 67 20 74 68 65 20 50 69 |+Changin|g the Pi|
|00004a30| 78 65 6c 20 44 65 70 74 | 68 20 66 6f 72 20 61 20 |xel Dept|h for a |
|00004a40| 56 69 64 65 6f 20 44 65 | 76 69 63 65 08 48 61 73 |Video De|vice.Has|
|00004a50| 44 65 70 74 68 08 53 65 | 74 44 65 70 74 68 1b 41 |Depth.Se|tDepth.A|
|00004a60| 70 70 6c 69 63 61 74 69 | 6f 6e 2d 44 65 66 69 6e |pplicati|on-Defin|
|00004a70| 65 64 20 52 6f 75 74 69 | 6e 65 0d 4d 79 44 72 61 |ed Routi|ne.MyDra|
|00004a80| 77 69 6e 67 50 72 6f 63 | 08 52 65 73 6f 75 72 63 |wingProc|.Resourc|
|00004a90| 65 13 54 68 65 20 53 63 | 72 65 65 6e 20 52 65 73 |e.The Sc|reen Res|
|00004aa0| 6f 75 72 63 65 1c 0d 53 | 75 6d 6d 61 72 79 20 6f |ource..S|ummary o|
|00004ab0| 66 20 47 72 61 70 68 69 | 63 73 20 44 65 76 69 63 |f Graphi|cs Devic|
|00004ac0| 65 73 19 4f 66 66 73 63 | 72 65 65 6e 20 47 72 61 |es.Offsc|reen Gra|
|00004ad0| 70 68 69 63 73 20 57 6f | 72 6c 64 73 1f 41 62 6f |phics Wo|rlds.Abo|
|00004ae0| 75 74 20 4f 66 66 73 63 | 72 65 65 6e 20 47 72 61 |ut Offsc|reen Gra|
|00004af0| 70 68 69 63 73 20 57 6f | 72 6c 64 73 1f 55 73 69 |phics Wo|rlds.Usi|
|00004b00| 6e 67 20 4f 66 66 73 63 | 72 65 65 6e 20 47 72 61 |ng Offsc|reen Gra|
|00004b10| 70 68 69 63 73 20 57 6f | 72 6c 64 73 24 43 72 65 |phics Wo|rlds$Cre|
|00004b20| 61 74 69 6e 67 20 61 6e | 20 4f 66 66 73 63 72 65 |ating an| Offscre|
|00004b30| 65 6e 20 47 72 61 70 68 | 69 63 73 20 57 6f 72 6c |en Graph|ics Worl|
|00004b40| 64 4e 4c 69 73 74 69 6e | 67 20 36 2d 31 09 55 73 |dNListin|g 6-1.Us|
|00004b50| 69 6e 67 20 61 20 73 69 | 6e 67 6c 65 20 6f 66 66 |ing a si|ngle off|
|00004b60| 73 63 72 65 65 6e 20 67 | 72 61 70 68 69 63 73 20 |screen g|raphics |
|00004b70| 77 6f 72 6c 64 20 61 6e | 64 20 74 68 65 20 43 6f |world an|d the Co|
|00004b80| 70 79 42 69 74 73 20 70 | 72 6f 63 65 64 75 72 65 |pyBits p|rocedure|
|00004b90| 39 53 65 74 74 69 6e 67 | 20 74 68 65 20 47 72 61 |9Setting| the Gra|
|00004ba0| 70 68 69 63 73 20 50 6f | 72 74 20 66 6f 72 20 61 |phics Po|rt for a|
|00004bb0| 6e 20 4f 66 66 73 63 72 | 65 65 6e 20 47 72 61 70 |n Offscr|een Grap|
|00004bc0| 68 69 63 73 20 57 6f 72 | 6c 64 28 44 72 61 77 69 |hics Wor|ld(Drawi|
|00004bd0| 6e 67 20 49 6e 74 6f 20 | 61 6e 20 4f 66 66 73 63 |ng Into |an Offsc|
|00004be0| 72 65 65 6e 20 47 72 61 | 70 68 69 63 73 20 57 6f |reen Gra|phics Wo|
|00004bf0| 72 6c 64 28 43 6f 70 79 | 69 6e 67 20 61 6e 20 4f |rld(Copy|ing an O|
|00004c00| 66 66 73 63 72 65 65 6e | 20 49 6d 61 67 65 20 49 |ffscreen| Image I|
|00004c10| 6e 74 6f 20 61 20 57 69 | 6e 64 6f 77 24 55 70 64 |nto a Wi|ndow$Upd|
|00004c20| 61 74 69 6e 67 20 61 6e | 20 4f 66 66 73 63 72 65 |ating an| Offscre|
|00004c30| 65 6e 20 47 72 61 70 68 | 69 63 73 20 57 6f 72 6c |en Graph|ics Worl|
|00004c40| 64 3f 43 72 65 61 74 69 | 6e 67 20 61 20 4d 61 73 |d?Creati|ng a Mas|
|00004c50| 6b 20 61 6e 64 20 61 20 | 53 6f 75 72 63 65 20 49 |k and a |Source I|
|00004c60| 6d 61 67 65 20 69 6e 20 | 4f 66 66 73 63 72 65 65 |mage in |Offscree|
|00004c70| 6e 20 47 72 61 70 68 69 | 63 73 20 57 6f 72 6c 64 |n Graphi|cs World|
|00004c80| 73 4a 4c 69 73 74 69 6e | 67 20 36 2d 32 09 55 73 |sJListin|g 6-2.Us|
|00004c90| 69 6e 67 20 74 77 6f 20 | 6f 66 66 73 63 72 65 65 |ing two |offscree|
|00004ca0| 6e 20 67 72 61 70 68 69 | 63 73 20 77 6f 72 6c 64 |n graphi|cs world|
|00004cb0| 73 20 61 6e 64 20 74 68 | 65 20 43 6f 70 79 4d 61 |s and th|e CopyMa|
|00004cc0| 73 6b 20 70 72 6f 63 65 | 64 75 72 65 24 0d 4f 66 |sk proce|dure$.Of|
|00004cd0| 66 73 63 72 65 65 6e 20 | 47 72 61 70 68 69 63 73 |fscreen |Graphics|
|00004ce0| 20 57 6f 72 6c 64 73 20 | 52 65 66 65 72 65 6e 63 | Worlds |Referenc|
|00004cf0| 65 0f 44 61 74 61 20 53 | 74 72 75 63 74 75 72 65 |e.Data S|tructure|
|00004d00| 73 09 47 57 6f 72 6c 64 | 50 74 72 0b 47 57 6f 72 |s.GWorld|Ptr.GWor|
|00004d10| 6c 64 46 6c 61 67 73 08 | 52 6f 75 74 69 6e 65 73 |ldFlags.|Routines|
|00004d20| 3e 43 72 65 61 74 69 6e | 67 2c 20 41 6c 74 65 72 |>Creatin|g, Alter|
|00004d30| 69 6e 67 2c 20 61 6e 64 | 20 44 69 73 70 6f 73 69 |ing, and| Disposi|
|00004d40| 6e 67 20 6f 66 20 4f 66 | 66 73 63 72 65 65 6e 20 |ng of Of|fscreen |
|00004d50| 47 72 61 70 68 69 63 73 | 20 57 6f 72 6c 64 73 09 |Graphics| Worlds.|
|00004d60| 4e 65 77 47 57 6f 72 6c | 64 0f 4e 65 77 53 63 72 |NewGWorl|d.NewScr|
|00004d70| 65 65 6e 42 75 66 66 65 | 72 13 4e 65 77 54 65 6d |eenBuffe|r.NewTem|
|00004d80| 70 53 63 72 65 65 6e 42 | 75 66 66 65 72 0c 55 70 |pScreenB|uffer.Up|
|00004d90| 64 61 74 65 47 57 6f 72 | 6c 64 0d 44 69 73 70 6f |dateGWor|ld.Dispo|
|00004da0| 73 65 47 57 6f 72 6c 64 | 13 44 69 73 70 6f 73 65 |seGWorld|.Dispose|
|00004db0| 53 63 72 65 65 6e 42 75 | 66 66 65 72 41 53 61 76 |ScreenBu|fferASav|
|00004dc0| 69 6e 67 20 61 6e 64 20 | 52 65 73 74 6f 72 69 6e |ing and |Restorin|
|00004dd0| 67 20 47 72 61 70 68 69 | 63 73 20 50 6f 72 74 73 |g Graphi|cs Ports|
|00004de0| 20 61 6e 64 20 4f 66 66 | 73 63 72 65 65 6e 20 47 | and Off|screen G|
|00004df0| 72 61 70 68 69 63 73 20 | 57 6f 72 6c 64 73 09 47 |raphics |Worlds.G|
|00004e00| 65 74 47 57 6f 72 6c 64 | 09 53 65 74 47 57 6f 72 |etGWorld|.SetGWor|
|00004e10| 6c 64 0f 47 65 74 47 57 | 6f 72 6c 64 44 65 76 69 |ld.GetGW|orldDevi|
|00004e20| 63 65 32 4d 61 6e 61 67 | 69 6e 67 20 61 6e 20 4f |ce2Manag|ing an O|
|00004e30| 66 66 73 63 72 65 65 6e | 20 47 72 61 70 68 69 63 |ffscreen| Graphic|
|00004e40| 73 20 57 6f 72 6c 64 d5 | 73 20 50 69 78 65 6c 20 |s World.|s Pixel |
|00004e50| 49 6d 61 67 65 0f 47 65 | 74 47 57 6f 72 6c 64 50 |Image.Ge|tGWorldP|
|00004e60| 69 78 4d 61 70 0a 4c 6f | 63 6b 50 69 78 65 6c 73 |ixMap.Lo|ckPixels|
|00004e70| 0c 55 6e 6c 6f 63 6b 50 | 69 78 65 6c 73 10 41 6c |.UnlockP|ixels.Al|
|00004e80| 6c 6f 77 50 75 72 67 65 | 50 69 78 65 6c 73 0d 4e |lowPurge|Pixels.N|
|00004e90| 6f 50 75 72 67 65 50 69 | 78 65 6c 73 0e 47 65 74 |oPurgePi|xels.Get|
|00004ea0| 50 69 78 65 6c 73 53 74 | 61 74 65 0e 53 65 74 50 |PixelsSt|ate.SetP|
|00004eb0| 69 78 65 6c 73 53 74 61 | 74 65 0e 47 65 74 50 69 |ixelsSta|te.GetPi|
|00004ec0| 78 42 61 73 65 41 64 64 | 72 0b 50 69 78 4d 61 70 |xBaseAdd|r.PixMap|
|00004ed0| 33 32 42 69 74 25 0d 53 | 75 6d 6d 61 72 79 20 6f |32Bit%.S|ummary o|
|00004ee0| 66 20 4f 66 66 73 63 72 | 65 65 6e 20 47 72 61 70 |f Offscr|een Grap|
|00004ef0| 68 69 63 73 20 57 6f 72 | 6c 64 73 08 50 69 63 74 |hics Wor|lds.Pict|
|00004f00| 75 72 65 73 0f 0d 41 62 | 6f 75 74 20 50 69 63 74 |ures..Ab|out Pict|
|00004f10| 75 72 65 73 23 46 69 67 | 75 72 65 20 37 2d 31 09 |ures#Fig|ure 7-1.|
|00004f20| 41 20 70 69 63 74 75 72 | 65 20 6f 66 20 61 20 70 |A pictur|e of a p|
|00004f30| 61 72 74 79 20 68 61 74 | 0f 50 69 63 74 75 72 65 |arty hat|.Picture|
|00004f40| 20 46 6f 72 6d 61 74 73 | 1d 46 69 67 75 72 65 20 | Formats|.Figure |
|00004f50| 37 2d 32 09 54 68 65 20 | 50 69 63 74 75 72 65 20 |7-2.The |Picture |
|00004f60| 72 65 63 6f 72 64 2e 4f | 70 63 6f 64 65 73 3a 20 |record.O|pcodes: |
|00004f70| 44 72 61 77 69 6e 67 20 | 43 6f 6d 6d 61 6e 64 73 |Drawing |Commands|
|00004f80| 20 61 6e 64 20 50 69 63 | 74 75 72 65 20 43 6f 6d | and Pic|ture Com|
|00004f90| 6d 65 6e 74 73 26 43 6f | 6c 6f 72 20 50 69 63 74 |ments&Co|lor Pict|
|00004fa0| 75 72 65 73 20 69 6e 20 | 42 61 73 69 63 20 47 72 |ures in |Basic Gr|
|00004fb0| 61 70 68 69 63 73 20 50 | 6f 72 74 73 3b 27 50 49 |aphics P|orts;'PI|
|00004fc0| 43 54 27 20 46 69 6c 65 | 73 2c 20 27 50 49 43 54 |CT' File|s, 'PICT|
|00004fd0| 27 20 52 65 73 6f 75 72 | 63 65 73 2c 20 61 6e 64 |' Resour|ces, and|
|00004fe0| 20 74 68 65 20 27 50 49 | 43 54 27 20 53 63 72 61 | the 'PI|CT' Scra|
|00004ff0| 70 20 46 6f 72 6d 61 74 | 15 54 68 65 20 50 69 63 |p Format|.The Pic|
|00005000| 74 75 72 65 20 55 74 69 | 6c 69 74 69 65 73 0e 55 |ture Uti|lities.U|
|00005010| 73 69 6e 67 20 50 69 63 | 74 75 72 65 73 1d 43 72 |sing Pic|tures.Cr|
|00005020| 65 61 74 69 6e 67 20 61 | 6e 64 20 44 72 61 77 69 |eating a|nd Drawi|
|00005030| 6e 67 20 50 69 63 74 75 | 72 65 73 2a 4c 69 73 74 |ng Pictu|res*List|
|00005040| 69 6e 67 20 37 2d 31 09 | 43 72 65 61 74 69 6e 67 |ing 7-1.|Creating|
|00005050| 20 61 6e 64 20 64 72 61 | 77 69 6e 67 20 61 20 70 | and dra|wing a p|
|00005060| 69 63 74 75 72 65 1b 46 | 69 67 75 72 65 20 37 2d |icture.F|igure 7-|
|00005070| 33 09 41 20 73 69 6d 70 | 6c 65 20 70 69 63 74 75 |3.A simp|le pictu|
|00005080| 72 65 1c 4f 70 65 6e 69 | 6e 67 20 61 6e 64 20 44 |re.Openi|ng and D|
|00005090| 72 61 77 69 6e 67 20 50 | 69 63 74 75 72 65 73 29 |rawing P|ictures)|
|000050a0| 44 72 61 77 69 6e 67 20 | 61 20 50 69 63 74 75 72 |Drawing |a Pictur|
|000050b0| 65 20 53 74 6f 72 65 64 | 20 69 6e 20 61 20 27 50 |e Stored| in a 'P|
|000050c0| 49 43 54 27 20 46 69 6c | 65 33 4c 69 73 74 69 6e |ICT' Fil|e3Listin|
|000050d0| 67 20 37 2d 32 09 4f 70 | 65 6e 69 6e 67 20 61 6e |g 7-2.Op|ening an|
|000050e0| 64 20 64 72 61 77 69 6e | 67 20 61 20 70 69 63 74 |d drawin|g a pict|
|000050f0| 75 72 65 20 66 72 6f 6d | 20 64 69 73 6b 4c 4c 69 |ure from| diskLLi|
|00005100| 73 74 69 6e 67 20 37 2d | 33 09 52 65 70 6c 61 63 |sting 7-|3.Replac|
|00005110| 69 6e 67 20 51 75 69 63 | 6b 44 72 61 77 d5 73 20 |ing Quic|kDraw.s |
|00005120| 73 74 61 6e 64 61 72 64 | 20 6c 6f 77 2d 6c 65 76 |standard| low-lev|
|00005130| 65 6c 20 70 69 63 74 75 | 72 65 2d 72 65 61 64 69 |el pictu|re-readi|
|00005140| 6e 67 20 72 6f 75 74 69 | 6e 65 41 4c 69 73 74 69 |ng routi|neAListi|
|00005150| 6e 67 20 37 2d 34 09 44 | 65 74 65 72 6d 69 6e 69 |ng 7-4.D|etermini|
|00005160| 6e 67 20 77 68 65 74 68 | 65 72 20 61 20 67 72 61 |ng wheth|er a gra|
|00005170| 70 68 69 63 73 20 70 6f | 72 74 20 69 73 20 63 6f |phics po|rt is co|
|00005180| 6c 6f 72 20 6f 72 20 62 | 61 73 69 63 49 4c 69 73 |lor or b|asicILis|
|00005190| 74 69 6e 67 20 37 2d 35 | 09 41 20 63 75 73 74 6f |ting 7-5|.A custo|
|000051a0| 6d 20 6c 6f 77 2d 6c 65 | 76 65 6c 20 70 72 6f 63 |m low-le|vel proc|
|000051b0| 65 64 75 72 65 20 66 6f | 72 20 73 70 6f 6f 6c 69 |edure fo|r spooli|
|000051c0| 6e 67 20 61 20 70 69 63 | 74 75 72 65 20 66 72 6f |ng a pic|ture fro|
|000051d0| 6d 20 64 69 73 6b 25 44 | 72 61 77 69 6e 67 20 61 |m disk%D|rawing a|
|000051e0| 20 50 69 63 74 75 72 65 | 20 53 74 6f 72 65 64 20 | Picture| Stored |
|000051f0| 69 6e 20 74 68 65 20 53 | 63 72 61 70 2f 4c 69 73 |in the S|crap/Lis|
|00005200| 74 69 6e 67 20 37 2d 36 | 09 50 61 73 74 69 6e 67 |ting 7-6|.Pasting|
|00005210| 20 69 6e 20 61 20 70 69 | 63 74 75 72 65 20 66 72 | in a pi|cture fr|
|00005220| 6f 6d 20 74 68 65 20 73 | 63 72 61 70 20 44 65 66 |om the s|crap Def|
|00005230| 69 6e 69 6e 67 20 61 20 | 44 65 73 74 69 6e 61 74 |ining a |Destinat|
|00005240| 69 6f 6e 20 52 65 63 74 | 61 6e 67 6c 65 3d 4c 69 |ion Rect|angle=Li|
|00005250| 73 74 69 6e 67 20 37 2d | 37 09 41 64 6a 75 73 74 |sting 7-|7.Adjust|
|00005260| 69 6e 67 20 74 68 65 20 | 64 65 73 74 69 6e 61 74 |ing the |destinat|
|00005270| 69 6f 6e 20 72 65 63 74 | 61 6e 67 6c 65 20 66 6f |ion rect|angle fo|
|00005280| 72 20 61 20 70 69 63 74 | 75 72 65 2d 44 72 61 77 |r a pict|ure-Draw|
|00005290| 69 6e 67 20 61 20 50 69 | 63 74 75 72 65 20 53 74 |ing a Pi|cture St|
|000052a0| 6f 72 65 64 20 69 6e 20 | 61 20 27 50 49 43 54 27 |ored in |a 'PICT'|
|000052b0| 20 52 65 73 6f 75 72 63 | 65 37 4c 69 73 74 69 6e | Resourc|e7Listin|
|000052c0| 67 20 37 2d 38 09 44 72 | 61 77 69 6e 67 20 61 20 |g 7-8.Dr|awing a |
|000052d0| 70 69 63 74 75 72 65 20 | 73 74 6f 72 65 64 20 69 |picture |stored i|
|000052e0| 6e 20 61 20 72 65 73 6f | 75 72 63 65 20 66 69 6c |n a reso|urce fil|
|000052f0| 65 0f 53 61 76 69 6e 67 | 20 50 69 63 74 75 72 65 |e.Saving| Picture|
|00005300| 73 2d 4c 69 73 74 69 6e | 67 20 37 2d 39 09 53 61 |s-Listin|g 7-9.Sa|
|00005310| 76 69 6e 67 20 61 20 70 | 69 63 74 75 72 65 20 61 |ving a p|icture a|
|00005320| 73 20 61 20 27 50 49 43 | 54 27 20 66 69 6c 65 4d |s a 'PIC|T' fileM|
|00005330| 4c 69 73 74 69 6e 67 20 | 37 2d 31 30 09 52 65 70 |Listing |7-10.Rep|
|00005340| 6c 61 63 69 6e 67 20 51 | 75 69 63 6b 44 72 61 77 |lacing Q|uickDraw|
|00005350| d5 73 20 73 74 61 6e 64 | 61 72 64 20 6c 6f 77 2d |.s stand|ard low-|
|00005360| 6c 65 76 65 6c 20 70 69 | 63 74 75 72 65 2d 77 72 |level pi|cture-wr|
|00005370| 69 74 69 6e 67 20 72 6f | 75 74 69 6e 65 46 4c 69 |iting ro|utineFLi|
|00005380| 73 74 69 6e 67 20 37 2d | 31 31 09 41 20 63 75 73 |sting 7-|11.A cus|
|00005390| 74 6f 6d 20 6c 6f 77 2d | 6c 65 76 65 6c 20 72 6f |tom low-|level ro|
|000053a0| 75 74 69 6e 65 20 66 6f | 72 20 73 70 6f 6f 6c 69 |utine fo|r spooli|
|000053b0| 6e 67 20 61 20 70 69 63 | 74 75 72 65 20 74 6f 20 |ng a pic|ture to |
|000053c0| 64 69 73 6b 1d 47 61 74 | 68 65 72 69 6e 67 20 50 |disk.Gat|hering P|
|000053d0| 69 63 74 75 72 65 20 49 | 6e 66 6f 72 6d 61 74 69 |icture I|nformati|
|000053e0| 6f 6e 3c 4c 69 73 74 69 | 6e 67 20 37 2d 31 32 09 |on<Listi|ng 7-12.|
|000053f0| 4c 6f 6f 6b 69 6e 67 20 | 66 6f 72 20 63 6f 6c 6f |Looking |for colo|
|00005400| 72 20 70 72 6f 66 69 6c | 65 20 63 6f 6d 6d 65 6e |r profil|e commen|
|00005410| 74 73 20 69 6e 20 61 20 | 70 69 63 74 75 72 65 12 |ts in a |picture.|
|00005420| 50 69 63 74 75 72 65 73 | 20 52 65 66 65 72 65 6e |Pictures| Referen|
|00005430| 63 65 0f 44 61 74 61 20 | 53 74 72 75 63 74 75 72 |ce.Data |Structur|
|00005440| 65 73 07 50 69 63 74 75 | 72 65 0e 4f 70 65 6e 43 |es.Pictu|re.OpenC|
|00005450| 50 69 63 50 61 72 61 6d | 73 0b 43 6f 6d 6d 65 6e |PicParam|s.Commen|
|00005460| 74 53 70 65 63 08 46 6f | 6e 74 53 70 65 63 08 50 |tSpec.Fo|ntSpec.P|
|00005470| 69 63 74 49 6e 66 6f 28 | 51 75 69 63 6b 44 72 61 |ictInfo(|QuickDra|
|00005480| 77 20 61 6e 64 20 50 69 | 63 74 75 72 65 20 55 74 |w and Pi|cture Ut|
|00005490| 69 6c 69 74 69 65 73 20 | 52 6f 75 74 69 6e 65 73 |ilities |Routines|
|000054a0| 22 43 72 65 61 74 69 6e | 67 20 61 6e 64 20 44 69 |"Creatin|g and Di|
|000054b0| 73 70 6f 73 69 6e 67 20 | 6f 66 20 50 69 63 74 75 |sposing |of Pictu|
|000054c0| 72 65 73 0c 4f 70 65 6e | 43 50 69 63 74 75 72 65 |res.Open|CPicture|
|000054d0| 0b 4f 70 65 6e 50 69 63 | 74 75 72 65 0a 50 69 63 |.OpenPic|ture.Pic|
|000054e0| 43 6f 6d 6d 65 6e 74 0c | 43 6c 6f 73 65 50 69 63 |Comment.|ClosePic|
|000054f0| 74 75 72 65 0b 4b 69 6c | 6c 50 69 63 74 75 72 65 |ture.Kil|lPicture|
|00005500| 10 44 72 61 77 69 6e 67 | 20 50 69 63 74 75 72 65 |.Drawing| Picture|
|00005510| 73 0b 44 72 61 77 50 69 | 63 74 75 72 65 0a 47 65 |s.DrawPi|cture.Ge|
|00005520| 74 50 69 63 74 75 72 65 | 1e 43 6f 6c 6c 65 63 74 |tPicture|.Collect|
|00005530| 69 6e 67 20 50 69 63 74 | 75 72 65 20 49 6e 66 6f |ing Pict|ure Info|
|00005540| 72 6d 61 74 69 6f 6e 0b | 47 65 74 50 69 63 74 49 |rmation.|GetPictI|
|00005550| 6e 66 6f 0d 47 65 74 50 | 69 78 4d 61 70 49 6e 66 |nfo.GetP|ixMapInf|
|00005560| 6f 0b 4e 65 77 50 69 63 | 74 49 6e 66 6f 0e 52 65 |o.NewPic|tInfo.Re|
|00005570| 63 6f 72 64 50 69 63 74 | 49 6e 66 6f 10 52 65 63 |cordPict|Info.Rec|
|00005580| 6f 72 64 50 69 78 4d 61 | 70 49 6e 66 6f 10 52 65 |ordPixMa|pInfo.Re|
|00005590| 74 72 69 65 76 65 50 69 | 63 74 49 6e 66 6f 0f 44 |trievePi|ctInfo.D|
|000055a0| 69 73 70 6f 73 65 50 69 | 63 74 49 6e 66 6f 1c 41 |isposePi|ctInfo.A|
|000055b0| 70 70 6c 69 63 61 74 69 | 6f 6e 2d 44 65 66 69 6e |pplicati|on-Defin|
|000055c0| 65 64 20 52 6f 75 74 69 | 6e 65 73 4b 54 61 62 6c |ed Routi|nesKTabl|
|000055d0| 65 20 37 2d 31 09 52 6f | 75 74 69 6e 65 20 73 65 |e 7-1.Ro|utine se|
|000055e0| 6c 65 63 74 6f 72 73 20 | 66 6f 72 20 61 6e 20 61 |lectors |for an a|
|000055f0| 70 70 6c 69 63 61 74 69 | 6f 6e 2d 64 65 66 69 6e |pplicati|on-defin|
|00005600| 65 64 20 63 6f 6c 6f 72 | 2d 70 69 63 6b 69 6e 67 |ed color|-picking|
|00005610| 20 6d 65 74 68 6f 64 10 | 4d 79 49 6e 69 74 50 69 | method.|MyInitPi|
|00005620| 63 6b 4d 65 74 68 6f 64 | 0e 4d 79 52 65 63 6f 72 |ckMethod|.MyRecor|
|00005630| 64 43 6f 6c 6f 72 73 10 | 4d 79 43 61 6c 63 43 6f |dColors.|MyCalcCo|
|00005640| 6c 6f 72 54 61 62 6c 65 | 18 4d 79 44 69 73 70 6f |lorTable|.MyDispo|
|00005650| 73 65 43 6f 6c 6f 72 50 | 69 63 6b 4d 65 74 68 6f |seColorP|ickMetho|
|00005660| 64 09 52 65 73 6f 75 72 | 63 65 73 14 54 68 65 20 |d.Resour|ces.The |
|00005670| 50 69 63 74 75 72 65 20 | 52 65 73 6f 75 72 63 65 |Picture |Resource|
|00005680| 3c 46 69 67 75 72 65 20 | 37 2d 34 09 53 74 72 75 |<Figure |7-4.Stru|
|00005690| 63 74 75 72 65 20 6f 66 | 20 61 20 63 6f 6d 70 69 |cture of| a compi|
|000056a0| 6c 65 64 20 70 69 63 74 | 75 72 65 20 28 27 50 49 |led pict|ure ('PI|
|000056b0| 43 54 27 29 20 72 65 73 | 6f 75 72 63 65 21 54 68 |CT') res|ource!Th|
|000056c0| 65 20 43 6f 6c 6f 72 2d | 50 69 63 6b 69 6e 67 20 |e Color-|Picking |
|000056d0| 4d 65 74 68 6f 64 20 52 | 65 73 6f 75 72 63 65 2e |Method R|esource.|
|000056e0| 0d 53 75 6d 6d 61 72 79 | 20 6f 66 20 50 69 63 74 |.Summary| of Pict|
|000056f0| 75 72 65 73 20 61 6e 64 | 20 74 68 65 20 50 69 63 |ures and| the Pic|
|00005700| 74 75 72 65 20 55 74 69 | 6c 69 74 69 65 73 10 43 |ture Uti|lities.C|
|00005710| 75 72 73 6f 72 20 55 74 | 69 6c 69 74 69 65 73 10 |ursor Ut|ilities.|
|00005720| 41 62 6f 75 74 20 74 68 | 65 20 43 75 72 73 6f 72 |About th|e Cursor|
|00005730| 1f 46 69 67 75 72 65 20 | 38 2d 31 09 48 6f 74 20 |.Figure |8-1.Hot |
|00005740| 73 70 6f 74 73 20 69 6e | 20 63 75 72 73 6f 72 73 |spots in| cursors|
|00005750| 1a 55 73 69 6e 67 20 74 | 68 65 20 43 75 72 73 6f |.Using t|he Curso|
|00005760| 72 20 55 74 69 6c 69 74 | 69 65 73 17 49 6e 69 74 |r Utilit|ies.Init|
|00005770| 69 61 6c 69 7a 69 6e 67 | 20 74 68 65 20 43 75 72 |ializing| the Cur|
|00005780| 73 6f 72 2d 4c 69 73 74 | 69 6e 67 20 38 2d 31 09 |sor-List|ing 8-1.|
|00005790| 49 6e 69 74 69 61 6c 69 | 7a 69 6e 67 20 74 68 65 |Initiali|zing the|
|000057a0| 20 43 75 72 73 6f 72 20 | 55 74 69 6c 69 74 69 65 | Cursor |Utilitie|
|000057b0| 73 25 43 68 61 6e 67 69 | 6e 67 20 74 68 65 20 41 |s%Changi|ng the A|
|000057c0| 70 70 65 61 72 61 6e 63 | 65 20 6f 66 20 74 68 65 |ppearanc|e of the|
|000057d0| 20 43 75 72 73 6f 72 24 | 46 69 67 75 72 65 20 38 | Cursor$|Figure 8|
|000057e0| 2d 32 09 54 68 65 20 73 | 74 61 6e 64 61 72 64 20 |-2.The s|tandard |
|000057f0| 61 72 72 6f 77 20 63 75 | 72 73 6f 72 44 46 69 67 |arrow cu|rsorDFig|
|00005800| 75 72 65 20 38 2d 33 09 | 54 68 65 20 49 2d 62 65 |ure 8-3.|The I-be|
|00005810| 61 6d 2c 20 63 72 6f 73 | 73 68 61 69 72 73 2c 20 |am, cros|shairs, |
|00005820| 70 6c 75 73 20 73 69 67 | 6e 2c 20 61 6e 64 20 77 |plus sig|n, and w|
|00005830| 72 69 73 74 77 61 74 63 | 68 20 63 75 72 73 6f 72 |ristwatc|h cursor|
|00005840| 73 34 46 69 67 75 72 65 | 20 38 2d 34 09 41 20 77 |s4Figure| 8-4.A w|
|00005850| 69 6e 64 6f 77 20 61 6e | 64 20 69 74 73 20 61 72 |indow an|d its ar|
|00005860| 72 6f 77 20 61 6e 64 20 | 49 2d 62 65 61 6d 20 72 |row and |I-beam r|
|00005870| 65 67 69 6f 6e 73 49 46 | 69 67 75 72 65 20 38 2d |egionsIF|igure 8-|
|00005880| 35 09 43 68 61 6e 67 69 | 6e 67 20 74 68 65 20 63 |5.Changi|ng the c|
|00005890| 75 72 73 6f 72 20 66 72 | 6f 6d 20 74 68 65 20 49 |ursor fr|om the I|
|000058a0| 2d 62 65 61 6d 20 63 75 | 72 73 6f 72 20 74 6f 20 |-beam cu|rsor to |
|000058b0| 74 68 65 20 61 72 72 6f | 77 20 63 75 72 73 6f 72 |the arro|w cursor|
|000058c0| 1f 4c 69 73 74 69 6e 67 | 20 38 2d 32 09 43 68 61 |.Listing| 8-2.Cha|
|000058d0| 6e 67 69 6e 67 20 74 68 | 65 20 63 75 72 73 6f 72 |nging th|e cursor|
|000058e0| 1b 43 72 65 61 74 69 6e | 67 20 61 6e 20 41 6e 69 |.Creatin|g an Ani|
|000058f0| 6d 61 74 65 64 20 43 75 | 72 73 6f 72 3c 46 69 67 |mated Cu|rsor<Fig|
|00005900| 75 72 65 20 38 2d 36 09 | 54 68 65 20 27 43 55 52 |ure 8-6.|The 'CUR|
|00005910| 53 27 20 72 65 73 6f 75 | 72 63 65 73 20 66 6f 72 |S' resou|rces for|
|00005920| 20 61 6e 20 61 6e 69 6d | 61 74 65 64 20 67 6c 6f | an anim|ated glo|
|00005930| 62 65 20 63 75 72 73 6f | 72 34 46 69 67 75 72 65 |be curso|r4Figure|
|00005940| 20 38 2d 37 09 41 6e 20 | 27 61 63 75 72 27 20 72 | 8-7.An |'acur' r|
|00005950| 65 73 6f 75 72 63 65 20 | 66 6f 72 20 61 6e 20 61 |esource |for an a|
|00005960| 6e 69 6d 61 74 65 64 20 | 63 75 72 73 6f 72 3e 4c |nimated |cursor>L|
|00005970| 69 73 74 69 6e 67 20 38 | 2d 33 09 41 6e 69 6d 61 |isting 8|-3.Anima|
|00005980| 74 69 6e 67 20 61 20 63 | 75 72 73 6f 72 20 77 69 |ting a c|ursor wi|
|00005990| 74 68 20 74 68 65 20 52 | 6f 74 61 74 65 43 75 72 |th the R|otateCur|
|000059a0| 73 6f 72 20 70 72 6f 63 | 65 64 75 72 65 3c 4c 69 |sor proc|edure<Li|
|000059b0| 73 74 69 6e 67 20 38 2d | 34 09 41 6e 69 6d 61 74 |sting 8-|4.Animat|
|000059c0| 69 6e 67 20 61 20 63 75 | 72 73 6f 72 20 77 69 74 |ing a cu|rsor wit|
|000059d0| 68 20 74 68 65 20 53 70 | 69 6e 43 75 72 73 6f 72 |h the Sp|inCursor|
|000059e0| 20 70 72 6f 63 65 64 75 | 72 65 1b 0d 43 75 72 73 | procedu|re..Curs|
|000059f0| 6f 72 20 55 74 69 6c 69 | 74 69 65 73 20 52 65 66 |or Utili|ties Ref|
|00005a00| 65 72 65 6e 63 65 0f 44 | 61 74 61 20 53 74 72 75 |erence.D|ata Stru|
|00005a10| 63 74 75 72 65 73 06 42 | 69 74 73 31 36 06 43 75 |ctures.B|its16.Cu|
|00005a20| 72 73 6f 72 1b 54 61 62 | 6c 65 20 38 2d 31 09 43 |rsor.Tab|le 8-1.C|
|00005a30| 75 72 73 6f 72 20 61 70 | 70 65 61 72 61 6e 63 65 |ursor ap|pearance|
|00005a40| 05 43 43 72 73 72 07 43 | 75 72 73 6f 72 73 04 41 |.CCrsr.C|ursors.A|
|00005a50| 63 75 72 08 52 6f 75 74 | 69 6e 65 73 14 49 6e 69 |cur.Rout|ines.Ini|
|00005a60| 74 69 61 6c 69 7a 69 6e | 67 20 43 75 72 73 6f 72 |tializin|g Cursor|
|00005a70| 73 0a 49 6e 69 74 43 75 | 72 73 6f 72 0d 49 6e 69 |s.InitCu|rsor.Ini|
|00005a80| 74 43 75 72 73 6f 72 43 | 74 6c 20 43 68 61 6e 67 |tCursorC|tl Chang|
|00005a90| 69 6e 67 20 42 6c 61 63 | 6b 2d 61 6e 64 2d 57 68 |ing Blac|k-and-Wh|
|00005aa0| 69 74 65 20 43 75 72 73 | 6f 72 73 09 47 65 74 43 |ite Curs|ors.GetC|
|00005ab0| 75 72 73 6f 72 09 53 65 | 74 43 75 72 73 6f 72 16 |ursor.Se|tCursor.|
|00005ac0| 43 68 61 6e 67 69 6e 67 | 20 43 6f 6c 6f 72 20 43 |Changing| Color C|
|00005ad0| 75 72 73 6f 72 73 0a 47 | 65 74 43 43 75 72 73 6f |ursors.G|etCCurso|
|00005ae0| 72 0a 53 65 74 43 43 75 | 72 73 6f 72 0e 44 69 73 |r.SetCCu|rsor.Dis|
|00005af0| 70 6f 73 65 43 43 75 72 | 73 6f 72 0b 41 6c 6c 6f |poseCCur|sor.Allo|
|00005b00| 63 43 75 72 73 6f 72 1a | 48 69 64 69 6e 67 20 61 |cCursor.|Hiding a|
|00005b10| 6e 64 20 53 68 6f 77 69 | 6e 67 20 43 75 72 73 6f |nd Showi|ng Curso|
|00005b20| 72 73 0a 48 69 64 65 43 | 75 72 73 6f 72 0b 48 69 |rs.HideC|ursor.Hi|
|00005b30| 64 65 5f 43 75 72 73 6f | 72 0d 4f 62 73 63 75 72 |de_Curso|r.Obscur|
|00005b40| 65 43 75 72 73 6f 72 0c | 53 68 69 65 6c 64 43 75 |eCursor.|ShieldCu|
|00005b50| 72 73 6f 72 0a 53 68 6f | 77 43 75 72 73 6f 72 0b |rsor.Sho|wCursor.|
|00005b60| 53 68 6f 77 5f 43 75 72 | 73 6f 72 1b 44 69 73 70 |Show_Cur|sor.Disp|
|00005b70| 6c 61 79 69 6e 67 20 41 | 6e 69 6d 61 74 65 64 20 |laying A|nimated |
|00005b80| 43 75 72 73 6f 72 73 0c | 52 6f 74 61 74 65 43 75 |Cursors.|RotateCu|
|00005b90| 72 73 6f 72 0a 53 70 69 | 6e 43 75 72 73 6f 72 09 |rsor.Spi|nCursor.|
|00005ba0| 52 65 73 6f 75 72 63 65 | 73 13 54 68 65 20 43 75 |Resource|s.The Cu|
|00005bb0| 72 73 6f 72 20 52 65 73 | 6f 75 72 63 65 38 46 69 |rsor Res|ource8Fi|
|00005bc0| 67 75 72 65 20 38 2d 38 | 09 46 6f 72 6d 61 74 20 |gure 8-8|.Format |
|00005bd0| 6f 66 20 61 20 63 6f 6d | 70 69 6c 65 64 20 63 75 |of a com|piled cu|
|00005be0| 72 73 6f 72 20 28 27 43 | 55 52 53 27 29 20 72 65 |rsor ('C|URS') re|
|00005bf0| 73 6f 75 72 63 65 19 54 | 68 65 20 43 6f 6c 6f 72 |source.T|he Color|
|00005c00| 20 43 75 72 73 6f 72 20 | 52 65 73 6f 75 72 63 65 | Cursor |Resource|
|00005c10| 3e 46 69 67 75 72 65 20 | 38 2d 39 09 46 6f 72 6d |>Figure |8-9.Form|
|00005c20| 61 74 20 6f 66 20 61 20 | 63 6f 6d 70 69 6c 65 64 |at of a |compiled|
|00005c30| 20 63 6f 6c 6f 72 20 63 | 75 72 73 6f 72 20 28 27 | color c|ursor ('|
|00005c40| 63 72 73 72 27 29 20 72 | 65 73 6f 75 72 63 65 1c |crsr') r|esource.|
|00005c50| 54 68 65 20 41 6e 69 6d | 61 74 65 64 20 43 75 72 |The Anim|ated Cur|
|00005c60| 73 6f 72 20 52 65 73 6f | 75 72 63 65 42 46 69 67 |sor Reso|urceBFig|
|00005c70| 75 72 65 20 38 2d 31 30 | 09 46 6f 72 6d 61 74 20 |ure 8-10|.Format |
|00005c80| 6f 66 20 61 20 63 6f 6d | 70 69 6c 65 64 20 61 6e |of a com|piled an|
|00005c90| 69 6d 61 74 65 64 20 63 | 75 72 73 6f 72 20 28 27 |imated c|ursor ('|
|00005ca0| 61 63 75 72 27 29 20 72 | 65 73 6f 75 72 63 65 1c |acur') r|esource.|
|00005cb0| 0d 53 75 6d 6d 61 72 79 | 20 6f 66 20 43 75 72 73 |.Summary| of Curs|
|00005cc0| 6f 72 20 55 74 69 6c 69 | 74 69 65 73 10 50 72 69 |or Utili|ties.Pri|
|00005cd0| 6e 74 69 6e 67 20 4d 61 | 6e 61 67 65 72 1a 41 62 |nting Ma|nager.Ab|
|00005ce0| 6f 75 74 20 74 68 65 20 | 50 72 69 6e 74 69 6e 67 |out the |Printing|
|00005cf0| 20 4d 61 6e 61 67 65 72 | 1a 54 68 65 20 50 72 69 | Manager|.The Pri|
|00005d00| 6e 74 69 6e 67 20 47 72 | 61 70 68 69 63 73 20 50 |nting Gr|aphics P|
|00005d10| 6f 72 74 2a 47 65 74 74 | 69 6e 67 20 50 72 69 6e |ort*Gett|ing Prin|
|00005d20| 74 69 6e 67 20 50 72 65 | 66 65 72 65 6e 63 65 73 |ting Pre|ferences|
|00005d30| 20 46 72 6f 6d 20 74 68 | 65 20 55 73 65 72 32 46 | From th|e User2F|
|00005d40| 69 67 75 72 65 20 39 2d | 31 09 41 20 73 74 61 6e |igure 9-|1.A stan|
|00005d50| 64 61 72 64 20 46 69 6c | 65 20 6d 65 6e 75 20 66 |dard Fil|e menu f|
|00005d60| 6f 72 20 61 6e 20 61 70 | 70 6c 69 63 61 74 69 6f |or an ap|plicatio|
|00005d70| 6e 39 46 69 67 75 72 65 | 20 39 2d 32 09 54 68 65 |n9Figure| 9-2.The|
|00005d80| 20 73 74 79 6c 65 20 64 | 69 61 6c 6f 67 20 62 6f | style d|ialog bo|
|00005d90| 78 20 66 6f 72 20 61 20 | 53 74 79 6c 65 57 72 69 |x for a |StyleWri|
|00005da0| 74 65 72 20 70 72 69 6e | 74 65 72 39 46 69 67 75 |ter prin|ter9Figu|
|00005db0| 72 65 20 39 2d 33 09 54 | 68 65 20 73 74 79 6c 65 |re 9-3.T|he style|
|00005dc0| 20 64 69 61 6c 6f 67 20 | 62 6f 78 20 66 6f 72 20 | dialog |box for |
|00005dd0| 61 20 4c 61 73 65 72 57 | 72 69 74 65 72 20 70 72 |a LaserW|riter pr|
|00005de0| 69 6e 74 65 72 37 46 69 | 67 75 72 65 20 39 2d 34 |inter7Fi|gure 9-4|
|00005df0| 09 54 68 65 20 6a 6f 62 | 20 64 69 61 6c 6f 67 20 |.The job| dialog |
|00005e00| 62 6f 78 20 66 6f 72 20 | 61 20 53 74 79 6c 65 57 |box for |a StyleW|
|00005e10| 72 69 74 65 72 20 70 72 | 69 6e 74 65 72 37 46 69 |riter pr|inter7Fi|
|00005e20| 67 75 72 65 20 39 2d 35 | 09 54 68 65 20 6a 6f 62 |gure 9-5|.The job|
|00005e30| 20 64 69 61 6c 6f 67 20 | 62 6f 78 20 66 6f 72 20 | dialog |box for |
|00005e40| 61 20 4c 61 73 65 72 57 | 72 69 74 65 72 20 70 72 |a LaserW|riter pr|
|00005e50| 69 6e 74 65 72 28 51 75 | 69 63 6b 44 72 61 77 20 |inter(Qu|ickDraw |
|00005e60| 61 6e 64 20 50 6f 73 74 | 53 63 72 69 70 74 20 50 |and Post|Script P|
|00005e70| 72 69 6e 74 65 72 20 44 | 72 69 76 65 72 73 19 50 |rinter D|rivers.P|
|00005e80| 61 67 65 20 61 6e 64 20 | 50 61 70 65 72 20 52 65 |age and |Paper Re|
|00005e90| 63 74 61 6e 67 6c 65 73 | 24 46 69 67 75 72 65 20 |ctangles|$Figure |
|00005ea0| 39 2d 36 09 50 61 67 65 | 20 61 6e 64 20 70 61 70 |9-6.Page| and pap|
|00005eb0| 65 72 20 72 65 63 74 61 | 6e 67 6c 65 73 12 50 72 |er recta|ngles.Pr|
|00005ec0| 69 6e 74 65 72 20 52 65 | 73 6f 6c 75 74 69 6f 6e |inter Re|solution|
|00005ed0| 27 54 68 65 20 54 50 72 | 69 6e 74 20 52 65 63 6f |'The TPr|int Reco|
|00005ee0| 72 64 20 61 6e 64 20 74 | 68 65 20 50 72 69 6e 74 |rd and t|he Print|
|00005ef0| 69 6e 67 20 4c 6f 6f 70 | 1a 46 69 67 75 72 65 20 |ing Loop|.Figure |
|00005f00| 39 2d 37 09 41 20 54 50 | 72 69 6e 74 20 72 65 63 |9-7.A TP|rint rec|
|00005f10| 6f 72 64 19 50 72 69 6e | 74 20 53 74 61 74 75 73 |ord.Prin|t Status|
|00005f20| 20 44 69 61 6c 6f 67 20 | 42 6f 78 65 73 62 46 69 | Dialog |BoxesbFi|
|00005f30| 67 75 72 65 20 39 2d 38 | 09 54 68 65 20 70 72 69 |gure 9-8|.The pri|
|00005f40| 6e 74 20 73 74 61 74 75 | 73 20 64 69 61 6c 6f 67 |nt statu|s dialog|
|00005f50| 20 62 6f 78 20 66 6f 72 | 20 61 20 4c 61 73 65 72 | box for| a Laser|
|00005f60| 57 72 69 74 65 72 20 70 | 72 69 6e 74 65 72 20 64 |Writer p|rinter d|
|00005f70| 72 69 76 65 72 20 70 72 | 69 6e 74 69 6e 67 20 69 |river pr|inting i|
|00005f80| 6e 20 74 68 65 20 62 61 | 63 6b 67 72 6f 75 6e 64 |n the ba|ckground|
|00005f90| 5c 46 69 67 75 72 65 20 | 39 2d 39 09 41 20 73 74 |\Figure |9-9.A st|
|00005fa0| 61 74 75 73 20 64 69 61 | 6c 6f 67 20 62 6f 78 20 |atus dia|log box |
|00005fb0| 77 69 74 68 20 74 68 65 | 20 4c 61 73 65 72 57 72 |with the| LaserWr|
|00005fc0| 69 74 65 72 20 70 72 69 | 6e 74 65 72 20 64 72 69 |iter pri|nter dri|
|00005fd0| 76 65 72 d5 73 20 70 72 | 69 6e 74 20 73 74 61 74 |ver.s pr|int stat|
|00005fe0| 75 73 20 64 69 61 6c 6f | 67 20 62 6f 78 1a 55 73 |us dialo|g box.Us|
|00005ff0| 69 6e 67 20 74 68 65 20 | 50 72 69 6e 74 69 6e 67 |ing the |Printing|
|00006000| 20 4d 61 6e 61 67 65 72 | 22 43 72 65 61 74 69 6e | Manager|"Creatin|
|00006010| 67 20 61 6e 64 20 55 73 | 69 6e 67 20 61 20 54 50 |g and Us|ing a TP|
|00006020| 72 69 6e 74 20 52 65 63 | 6f 72 64 2e 4c 69 73 74 |rint Rec|ord.List|
|00006030| 69 6e 67 20 39 2d 31 09 | 52 65 61 64 69 6e 67 20 |ing 9-1.|Reading |
|00006040| 61 20 64 6f 63 75 6d 65 | 6e 74 d5 73 20 54 50 72 |a docume|nt.s TPr|
|00006050| 69 6e 74 20 72 65 63 6f | 72 64 13 50 72 69 6e 74 |int reco|rd.Print|
|00006060| 69 6e 67 20 61 20 44 6f | 63 75 6d 65 6e 74 22 4c |ing a Do|cument"L|
|00006070| 69 73 74 69 6e 67 20 39 | 2d 32 09 41 20 73 61 6d |isting 9|-2.A sam|
|00006080| 70 6c 65 20 70 72 69 6e | 74 69 6e 67 20 6c 6f 6f |ple prin|ting loo|
|00006090| 70 18 50 72 69 6e 74 69 | 6e 67 20 46 72 6f 6d 20 |p.Printi|ng From |
|000060a0| 74 68 65 20 46 69 6e 64 | 65 72 2e 46 69 67 75 72 |the Find|er.Figur|
|000060b0| 65 20 39 2d 31 30 09 48 | 6f 77 20 74 68 65 20 50 |e 9-10.H|ow the P|
|000060c0| 72 4a 6f 62 4d 65 72 67 | 65 20 70 72 6f 63 65 64 |rJobMerg|e proced|
|000060d0| 75 72 65 20 77 6f 72 6b | 73 2a 50 72 6f 76 69 64 |ure work|s*Provid|
|000060e0| 69 6e 67 20 4e 61 6d 65 | 73 20 6f 66 20 44 6f 63 |ing Name|s of Doc|
|000060f0| 75 6d 65 6e 74 73 20 42 | 65 69 6e 67 20 50 72 69 |uments B|eing Pri|
|00006100| 6e 74 65 64 0e 50 72 69 | 6e 74 69 6e 67 20 48 69 |nted.Pri|nting Hi|
|00006110| 6e 74 73 27 47 65 74 74 | 69 6e 67 20 61 6e 64 20 |nts'Gett|ing and |
|00006120| 53 65 74 74 69 6e 67 20 | 50 72 69 6e 74 65 72 20 |Setting |Printer |
|00006130| 49 6e 66 6f 72 6d 61 74 | 69 6f 6e 58 4c 69 73 74 |Informat|ionXList|
|00006140| 69 6e 67 20 39 2d 33 09 | 43 68 65 63 6b 69 6e 67 |ing 9-3.|Checking|
|00006150| 20 77 68 65 74 68 65 72 | 20 74 68 65 20 63 75 72 | whether| the cur|
|00006160| 72 65 6e 74 20 70 72 69 | 6e 74 65 72 20 64 72 69 |rent pri|nter dri|
|00006170| 76 65 72 20 73 75 70 70 | 6f 72 74 73 20 74 68 65 |ver supp|orts the|
|00006180| 20 50 72 47 65 6e 65 72 | 61 6c 20 70 72 6f 63 65 | PrGener|al proce|
|00006190| 64 75 72 65 3d 44 65 74 | 65 72 6d 69 6e 69 6e 67 |dure=Det|ermining|
|000061a0| 20 61 6e 64 20 53 65 74 | 74 69 6e 67 20 74 68 65 | and Set|ting the|
|000061b0| 20 52 65 73 6f 6c 75 74 | 69 6f 6e 20 6f 66 20 74 | Resolut|ion of t|
|000061c0| 68 65 20 43 75 72 72 65 | 6e 74 20 50 72 69 6e 74 |he Curre|nt Print|
|000061d0| 65 72 4f 46 69 67 75 72 | 65 20 39 2d 31 31 09 53 |erOFigur|e 9-11.S|
|000061e0| 61 6d 70 6c 65 20 72 65 | 73 6f 6c 75 74 69 6f 6e |ample re|solution|
|000061f0| 73 20 66 6f 72 20 61 20 | 50 6f 73 74 53 63 72 69 |s for a |PostScri|
|00006200| 70 74 20 70 72 69 6e 74 | 65 72 20 61 6e 64 20 61 |pt print|er and a|
|00006210| 20 51 75 69 63 6b 44 72 | 61 77 20 70 72 69 6e 74 | QuickDr|aw print|
|00006220| 65 72 54 4c 69 73 74 69 | 6e 67 20 39 2d 34 09 55 |erTListi|ng 9-4.U|
|00006230| 73 69 6e 67 20 74 68 65 | 20 67 65 74 52 73 6c 44 |sing the| getRslD|
|00006240| 61 74 61 4f 70 20 61 6e | 64 20 73 65 74 52 73 6c |ataOp an|d setRsl|
|00006250| 4f 70 20 6f 70 63 6f 64 | 65 73 20 77 69 74 68 20 |Op opcod|es with |
|00006260| 74 68 65 20 50 72 47 65 | 6e 65 72 61 6c 20 70 72 |the PrGe|neral pr|
|00006270| 6f 63 65 64 75 72 65 1c | 44 65 74 65 72 6d 69 6e |ocedure.|Determin|
|00006280| 69 6e 67 20 50 61 67 65 | 20 4f 72 69 65 6e 74 61 |ing Page| Orienta|
|00006290| 74 69 6f 6e 61 4c 69 73 | 74 69 6e 67 20 39 2d 35 |tionaLis|ting 9-5|
|000062a0| 09 55 73 69 6e 67 20 74 | 68 65 20 67 65 74 52 6f |.Using t|he getRo|
|000062b0| 74 6e 4f 70 20 6f 70 63 | 6f 64 65 20 77 69 74 68 |tnOp opc|ode with|
|000062c0| 20 74 68 65 20 50 72 47 | 65 6e 65 72 61 6c 20 70 | the PrG|eneral p|
|000062d0| 72 6f 63 65 64 75 72 65 | 20 74 6f 20 64 65 74 65 |rocedure| to dete|
|000062e0| 72 6d 69 6e 65 20 70 61 | 67 65 20 6f 72 69 65 6e |rmine pa|ge orien|
|000062f0| 74 61 74 69 6f 6e 20 45 | 6e 68 61 6e 63 69 6e 67 |tation E|nhancing|
|00006300| 20 44 72 61 66 74 2d 51 | 75 61 6c 69 74 79 20 50 | Draft-Q|uality P|
|00006310| 72 69 6e 74 69 6e 67 69 | 4c 69 73 74 69 6e 67 20 |rintingi|Listing |
|00006320| 39 2d 36 09 55 73 69 6e | 67 20 74 68 65 20 64 72 |9-6.Usin|g the dr|
|00006330| 61 66 74 42 69 74 73 4f | 70 20 6f 70 63 6f 64 65 |aftBitsO|p opcode|
|00006340| 20 77 69 74 68 20 74 68 | 65 20 50 72 47 65 6e 65 | with th|e PrGene|
|00006350| 72 61 6c 20 70 72 6f 63 | 65 64 75 72 65 20 66 6f |ral proc|edure fo|
|00006360| 72 20 65 6e 68 61 6e 63 | 65 64 20 64 72 61 66 74 |r enhanc|ed draft|
|00006370| 2d 71 75 61 6c 69 74 79 | 20 70 72 69 6e 74 69 6e |-quality| printin|
|00006380| 67 24 41 6c 74 65 72 69 | 6e 67 20 74 68 65 20 53 |g$Alteri|ng the S|
|00006390| 74 79 6c 65 20 6f 72 20 | 4a 6f 62 20 44 69 61 6c |tyle or |Job Dial|
|000063a0| 6f 67 20 42 6f 78 3d 46 | 69 67 75 72 65 20 39 2d |og Box=F|igure 9-|
|000063b0| 31 32 09 41 20 70 72 69 | 6e 74 20 6a 6f 62 20 64 |12.A pri|nt job d|
|000063c0| 69 61 6c 6f 67 20 62 6f | 78 20 77 69 74 68 20 61 |ialog bo|x with a|
|000063d0| 64 64 69 74 69 6f 6e 61 | 6c 20 63 68 65 63 6b 62 |dditiona|l checkb|
|000063e0| 6f 78 65 73 53 4c 69 73 | 74 69 6e 67 20 39 2d 37 |oxesSLis|ting 9-7|
|000063f0| 09 49 6e 73 74 61 6c 6c | 69 6e 67 20 61 6e 20 69 |.Install|ing an i|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.